]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove insane debug-log from OC_Image
authorGeorg Ehrke <developer@georgehrke.com>
Thu, 22 Jan 2015 19:17:25 +0000 (20:17 +0100)
committerGeorg Ehrke <developer@georgehrke.com>
Thu, 22 Jan 2015 19:17:25 +0000 (20:17 +0100)
lib/private/image.php

index 90b024de3d3d9f484befaf483904aa16cf103178..f5f9a04facce527dadb5f6b2afc52e3336e50653 100644 (file)
@@ -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);