mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
Removed more debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
45eda0f611
commit
09914f508f
|
@ -70,8 +70,6 @@ class AssetModelsFilesController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$file = 'private_uploads/assetmodels/'.$log->filename;
|
$file = 'private_uploads/assetmodels/'.$log->filename;
|
||||||
\Log::debug('Checking for '.$file);
|
|
||||||
|
|
||||||
|
|
||||||
if (! Storage::exists($file)) {
|
if (! Storage::exists($file)) {
|
||||||
return response('File '.$file.' not found on server', 404)
|
return response('File '.$file.' not found on server', 404)
|
||||||
|
|
|
@ -70,7 +70,6 @@ class AssetFilesController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$file = 'private_uploads/assets/'.$log->filename;
|
$file = 'private_uploads/assets/'.$log->filename;
|
||||||
\Log::debug('Checking for '.$file);
|
|
||||||
|
|
||||||
if ($log->action_type == 'audit') {
|
if ($log->action_type == 'audit') {
|
||||||
$file = 'private_uploads/audits/'.$log->filename;
|
$file = 'private_uploads/audits/'.$log->filename;
|
||||||
|
|
Loading…
Reference in a new issue