diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-04 14:16:59 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-01-04 14:16:59 -0500 |
commit | f2e6df807d05ef50b28ca2afc9ea51970ec0d87b (patch) | |
tree | fce8f6138e60d9f2485df6b4a0c6c787e3733248 /lib/base.php | |
parent | ceafb5d7d1bd77b2e0b5ac7bb71178d3ba0be1c1 (diff) | |
download | nextcloud-server-f2e6df807d05ef50b28ca2afc9ea51970ec0d87b.tar.gz nextcloud-server-f2e6df807d05ef50b28ca2afc9ea51970ec0d87b.zip |
Add back check if installed around background jobs
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index ec08ccc67be..e6355013c73 100644 --- a/lib/base.php +++ b/lib/base.php @@ -480,8 +480,10 @@ class OC if (OC_Util::issetlocaleworking() == false) { OC_Log::write('core', 'setting locate to en_US.UTF-8 failed. Support is probably not installed on your system', OC_Log::ERROR); } - if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') { - OC_Util::addScript('backgroundjobs'); + if (OC_Config::getValue('installed', false)) { + if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') { + OC_Util::addScript('backgroundjobs'); + } } } |