[Pkg-owncloud-commits] [owncloud] 62/90: remove insane debug-log from OC_Image
David Prévot
taffit at moszumanska.debian.org
Fri Feb 6 21:10:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 2d2e024cfa0a5f11676e33f92ed84babe2f97799
Author: Georg Ehrke <developer at georgehrke.com>
Date: Thu Jan 22 20:17:25 2015 +0100
remove insane debug-log from OC_Image
---
lib/private/image.php | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/private/image.php b/lib/private/image.php
index 967c632..aaddd85 100644
--- a/lib/private/image.php
+++ b/lib/private/image.php
@@ -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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list