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/ajax | |
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/ajax')
-rw-r--r-- | apps/media/ajax/autoupdate.php | 2 |
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); |