From 2b5f005547e920c8071782f975ac98d81475f45a Mon Sep 17 00:00:00 2001
From: Jakob Sack <mail@jakobsack.de>
Date: Thu, 9 Aug 2012 21:29:45 +0200
Subject: [PATCH] Backgroundjobs: Forgot to require lib/base.php

---
 settings/ajax/setbackgroundjobsmode.php | 3 +++
 1 file changed, 3 insertions(+)

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();
 
-- 
GitLab