diff --git a/lib/base.php b/lib/base.php index 240dd1c12b684b33596989995d7daab3eac36208..d29a95ecec9ef838aacac931e50748dcb8557eb0 100644 --- a/lib/base.php +++ b/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 {