summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2012-08-09 21:29:45 +0200
committerJakob Sack <mail@jakobsack.de>2012-08-09 21:29:45 +0200
commit2b5f005547e920c8071782f975ac98d81475f45a (patch)
treea112cda9baad658dec99fa097824114488b50b2c /settings
parent28c1ec19eaab548d080407e956c4909fe7bc07ab (diff)
downloadnextcloud-server-2b5f005547e920c8071782f975ac98d81475f45a.tar.gz
nextcloud-server-2b5f005547e920c8071782f975ac98d81475f45a.zip
Backgroundjobs: Forgot to require lib/base.php
Diffstat (limited to 'settings')
-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();