summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2015-01-22 20:17:25 +0100
committerGeorg Ehrke <developer@georgehrke.com>2015-01-22 20:17:25 +0100
commit6b33481652513f6a9e95750e8ae7781425df3be1 (patch)
tree501aa341921473ba1995460381938ebad0e5b673
parent8f06bf7bc6894dc5bf7004f8f3f66107924727c7 (diff)
downloadnextcloud-server-6b33481652513f6a9e95750e8ae7781425df3be1.tar.gz
nextcloud-server-6b33481652513f6a9e95750e8ae7781425df3be1.zip
remove insane debug-log from OC_Image
-rw-r--r--lib/private/image.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/image.php b/lib/private/image.php
index 90b024de3d3..f5f9a04facc 100644
--- a/lib/private/image.php
+++ b/lib/private/image.php
@@ -467,7 +467,6 @@ class OC_Image {
public function loadFromFile($imagePath = false) {
// exif_imagetype throws "read error!" if file is less than 12 byte
if (!@is_file($imagePath) || !file_exists($imagePath) || filesize($imagePath) < 12 || !is_readable($imagePath)) {
- $this->logger->debug('OC_Image->loadFromFile, could not load: ' . (string)urlencode($imagePath), array('app' => 'core'));
return false;
}
$iType = exif_imagetype($imagePath);