summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax/autoupdate.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/ajax/autoupdate.php')
-rwxr-xr-xapps/media/ajax/autoupdate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/ajax/autoupdate.php b/apps/media/ajax/autoupdate.php
index 1efbea3acef..3122c7e6754 100755
--- a/apps/media/ajax/autoupdate.php
+++ b/apps/media/ajax/autoupdate.php
@@ -28,11 +28,11 @@ $RUNTIME_NOAPPS=true;
$RUNTIME_NOSETUPFS=true;
-OC_JSON::checkAppEnabled('media');
+OCP\JSON::checkAppEnabled('media');
$autoUpdate=(isset($_GET['autoupdate']) and $_GET['autoupdate']=='true');
OCP\Config::setUserValue(OCP\USER::getUser(),'media','autoupdate',(integer)$autoUpdate);
-OC_JSON::success(array('data' => $autoUpdate));
+OCP\JSON::success(array('data' => $autoUpdate));
?>