summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-03-03 23:08:41 +0100
committerBart Visscher <bartv@thisnet.nl>2013-03-03 23:15:22 +0100
commitd800f35bf460c3bb94aef90ea2479e408eb0bae8 (patch)
tree960a053d89cc17c55fea6dd9d6d4abbf40fe1888
parenta2d6b27170a60efeebd57a82365c0f99f49e0ada (diff)
downloadnextcloud-server-d800f35bf460c3bb94aef90ea2479e408eb0bae8.tar.gz
nextcloud-server-d800f35bf460c3bb94aef90ea2479e408eb0bae8.zip
Disable loading of backgroundjobs js when upgrade is needed
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
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');
}