diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:42:24 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:42:24 +0200 |
commit | b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b (patch) | |
tree | 63b365930c0232613f28ffbd477202f857fdabee /apps/media/lib_media.php | |
parent | d9372ac76606cd10e680852dde090171f04f5dee (diff) | |
download | nextcloud-server-b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b.tar.gz nextcloud-server-b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b.zip |
use OC_Log instead of error_log
Diffstat (limited to 'apps/media/lib_media.php')
-rw-r--r-- | apps/media/lib_media.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/media/lib_media.php b/apps/media/lib_media.php index 7a666be8c27..485d616e1aa 100644 --- a/apps/media/lib_media.php +++ b/apps/media/lib_media.php @@ -40,7 +40,6 @@ class OC_MEDIA{ */ public static function loginListener($params){ if(isset($_POST['user']) and $_POST['password']){ - if(defined("DEBUG") && DEBUG) {error_log('postlogin');} $name=$_POST['user']; $query=OC_DB::prepare("SELECT user_id from *PREFIX*media_users WHERE user_id LIKE ?"); $uid=$query->execute(array($name))->fetchAll(); @@ -64,7 +63,6 @@ class OC_MEDIA{ $path=substr($path,1); } $path='/'.$path; - error_log("$path was updated"); OC_MEDIA_SCANNER::scanFile($path); } |