]> 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)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 22 Jan 2015 22:21:40 +0000 (23:21 +0100)
lib/private/image.php

index 967c632ac26653763ca59e1d09c55e7fe4e66a15..aaddd856f2b789249f6c4a234a46cd40f7219507 100644 (file)
@@ -442,7 +442,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)) {
-                       OC_Log::write('core', 'OC_Image->loadFromFile, couldn\'t load: ' . (string) urlencode($imagePath), OC_Log::DEBUG);
                        return false;
                }
                $iType = exif_imagetype($imagePath);