Merge pull request #3889 from owncloud/apps_preload

Don't load the apps when we need to upgrade
remotes/origin/stable6
Morris Jobke 12 years ago
commit c61d328ab9
  1. 2
      lib/base.php

@ -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…
Cancel
Save