summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-16 21:42:24 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-16 21:42:24 +0200
commitb0127e39188f2268dbd74714e5d2f0e1a2b6ce7b (patch)
tree63b365930c0232613f28ffbd477202f857fdabee /apps/media/ajax
parentd9372ac76606cd10e680852dde090171f04f5dee (diff)
downloadnextcloud-server-b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b.tar.gz
nextcloud-server-b0127e39188f2268dbd74714e5d2f0e1a2b6ce7b.zip
use OC_Log instead of error_log
Diffstat (limited to 'apps/media/ajax')
-rw-r--r--apps/media/ajax/autoupdate.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/media/ajax/autoupdate.php b/apps/media/ajax/autoupdate.php
index ff0923ca032..a78b5e25dd1 100644
--- a/apps/media/ajax/autoupdate.php
+++ b/apps/media/ajax/autoupdate.php
@@ -30,9 +30,7 @@ $RUNTIME_NOSETUPFS=true;
require_once('../../../lib/base.php');
OC_JSON::checkAppEnabled('media');
-if(defined("DEBUG") && DEBUG) {error_log($_GET['autoupdate']);}
$autoUpdate=(isset($_GET['autoupdate']) and $_GET['autoupdate']=='true');
-if(defined("DEBUG") && DEBUG) {error_log((integer)$autoUpdate);}
OC_Preferences::setValue(OC_User::getUser(),'media','autoupdate',(integer)$autoUpdate);