From: Bart Visscher Date: Sun, 3 Mar 2013 22:08:41 +0000 (+0100) Subject: Disable loading of backgroundjobs js when upgrade is needed X-Git-Tag: v5.0.0RC2~26^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d800f35bf460c3bb94aef90ea2479e408eb0bae8;p=nextcloud-server.git Disable loading of backgroundjobs js when upgrade is needed --- diff --git a/lib/base.php b/lib/base.php index 98a72cb9018..bffae36261e 100644 --- a/lib/base.php +++ b/lib/base.php @@ -539,7 +539,7 @@ class OC { 'setting locale to en_US.UTF-8/en_US.UTF8 failed. Support is probably not installed on your system', OC_Log::ERROR); } - if (OC_Config::getValue('installed', false)) { + if (OC_Config::getValue('installed', false) && !self::checkUpgrade(false)) { if (OC_Appconfig::getValue('core', 'backgroundjobs_mode', 'ajax') == 'ajax') { OC_Util::addScript('backgroundjobs'); }