summaryrefslogtreecommitdiffstats
path: root/apps/media/ajax/autoupdate.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/media/ajax/autoupdate.php')
-rw-r--r--apps/media/ajax/autoupdate.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/media/ajax/autoupdate.php b/apps/media/ajax/autoupdate.php
index ad103d1c39b..ff0923ca032 100644
--- a/apps/media/ajax/autoupdate.php
+++ b/apps/media/ajax/autoupdate.php
@@ -28,6 +28,7 @@ $RUNTIME_NOAPPS=true;
$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');