Skip to content
Snippets Groups Projects
Commit c61d328a authored by Morris Jobke's avatar Morris Jobke
Browse files

Merge pull request #3889 from owncloud/apps_preload

Don't load the apps when we need to upgrade
parents 8df82112 9a50a8f0
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment