Merge pull request #3889 from owncloud/apps_preload
Don't load the apps when we need to upgrade
This commit is contained in:
commit
c61d328ab9
|
@ -507,7 +507,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 New Issue