Skip to content

A free open source IT asset/license management system

Removed logging

snipeda5b1afd1974
diff --git a/app/Helpers/StorageHelper.php b/app/Helpers/StorageHelper.php
index 4d100fb72a..cbd801d302 100644
--- a/app/Helpers/StorageHelper.php
+++ b/app/Helpers/StorageHelper.php
@@ -96,11 +96,9 @@ class StorageHelper
'webp',
];
- \Log::error(pathinfo($file_with_path, PATHINFO_EXTENSION));
// The file exists and is allowed to be displayed inline
if (Storage::exists($file_with_path) && (in_array(pathinfo($file_with_path, PATHINFO_EXTENSION), $allowed_inline))) {
- \Log::error('File is allowed inline: ' . $file_with_path);
return true;
}
return false;