From: Michael Gapczynski Date: Fri, 4 Jan 2013 19:16:59 +0000 (-0500) Subject: Add back check if installed around background jobs X-Git-Tag: v5.0.0alpha1~258^2~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f2e6df807d05ef50b28ca2afc9ea51970ec0d87b;p=nextcloud-server.git Add back check if installed around background jobs --- 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'); + } } }