summaryrefslogtreecommitdiffstats
path: root/settings/ajax/setbackgroundjobsmode.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/setbackgroundjobsmode.php')
-rw-r--r--settings/ajax/setbackgroundjobsmode.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/ajax/setbackgroundjobsmode.php b/settings/ajax/setbackgroundjobsmode.php
index 454b3caa5bf..0ff14376e6e 100644
--- a/settings/ajax/setbackgroundjobsmode.php
+++ b/settings/ajax/setbackgroundjobsmode.php
@@ -20,6 +20,9 @@
*
*/
+// Init owncloud
+require_once('../../lib/base.php');
+
OC_Util::checkAdminUser();
OCP\JSON::callCheck();