mirror of
https://github.com/nextcloud/server.git
synced 2026-02-19 02:38:40 -05:00
Disable loading of backgroundjobs js when upgrade is needed
This commit is contained in:
parent
a2d6b27170
commit
d800f35bf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue