diff options
Diffstat (limited to 'apps/media/lib_media.php')
-rw-r--r-- | apps/media/lib_media.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/media/lib_media.php b/apps/media/lib_media.php index 3086f84a93a..1d8321a774c 100644 --- a/apps/media/lib_media.php +++ b/apps/media/lib_media.php @@ -37,7 +37,7 @@ class OC_MEDIA{ */ public static function loginListener($params){ if(isset($_POST['user']) and $_POST['password']){ - error_log('postlogin'); + 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(); |