diff options
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 3ac6d978e4e..8109e47cdc0 100644 --- a/lib/base.php +++ b/lib/base.php @@ -644,6 +644,10 @@ class OC { OC\Log\ErrorHandler::register($debug); } + /** @var \OC\AppFramework\Bootstrap\Coordinator $bootstrapCoordinator */ + $bootstrapCoordinator = \OC::$server->query(\OC\AppFramework\Bootstrap\Coordinator::class); + $bootstrapCoordinator->runRegistration(); + \OC::$server->getEventLogger()->start('init_session', 'Initialize session'); OC_App::loadApps(['session']); if (!self::$CLI) { @@ -735,8 +739,6 @@ class OC { // Make sure that the application class is not loaded before the database is setup if ($systemConfig->getValue("installed", false)) { OC_App::loadApp('settings'); - $settings = \OC::$server->query(\OCA\Settings\AppInfo\Application::class); - $settings->register(); } //make sure temporary files are cleaned up |