diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-05-07 21:10:30 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-17 09:22:21 +0200 |
commit | 69571fb536c7ad231ea4e5d350f8112a5923c6e1 (patch) | |
tree | afcf6f455248ef99fcb2ee0f315e4b5db8ba8a59 /lib/base.php | |
parent | d1b03f5adf6d3371339bbcc3c7bfb8a5e2614789 (diff) | |
download | nextcloud-server-69571fb536c7ad231ea4e5d350f8112a5923c6e1.tar.gz nextcloud-server-69571fb536c7ad231ea4e5d350f8112a5923c6e1.zip |
Add dedicated API for apps' bootstrapping process
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 3ac6d978e4e..ab199c09722 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) { |