Merge pull request #3889 from owncloud/apps_preload

Don't load the apps when we need to upgrade
This commit is contained in:
Morris Jobke 2013-10-28 03:17:52 -07:00
commit c61d328ab9
1 changed files with 1 additions and 1 deletions

View File

@ -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 {