@ -30,9 +30,6 @@ class Upgrade extends Command {
}
protected function execute(InputInterface $input, OutputInterface $output) {
global $RUNTIME_NOAPPS;
$RUNTIME_NOAPPS = true; //no apps, yet
require_once \OC::$SERVERROOT . '/lib/base.php';
@ -21,8 +21,6 @@
*
*/
try {
require_once 'lib/base.php';
@ -569,9 +569,8 @@ class OC {
// Load Apps
// This includes plugins for users and filesystems as well
global $RUNTIME_APPTYPES;
if (!$RUNTIME_NOAPPS && !self::checkUpgrade(false)) {
if (!self::checkUpgrade(false)) {
if ($RUNTIME_APPTYPES) {
OC_App::loadApps($RUNTIME_APPTYPES);
} else {