remove insane debug-log from OC_Image

remotes/origin/create-share-target-reuse
Georg Ehrke 12 years ago
parent 8f06bf7bc6
commit 6b33481652
  1. 1
      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);

Loading…
Cancel
Save