Don't load the apps when we need to upgrade
The loading can call functions that require new tables, like oc_jobs
This commit is contained in:
parent
6127fee5aa
commit
9a50a8f0cc
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ class OC {
|
|||
// This includes plugins for users and filesystems as well
|
||||
global $RUNTIME_NOAPPS;
|
||||
global $RUNTIME_APPTYPES;
|
||||
if (!$RUNTIME_NOAPPS) {
|
||||
if (!$RUNTIME_NOAPPS && !self::checkUpgrade(false)) {
|
||||
if ($RUNTIME_APPTYPES) {
|
||||
OC_App::loadApps($RUNTIME_APPTYPES);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue