Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-05-07 22:10:30 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-06-17 10:22:21 +0300
commit69571fb536c7ad231ea4e5d350f8112a5923c6e1 (patch)
treeafcf6f455248ef99fcb2ee0f315e4b5db8ba8a59 /lib/base.php
parentd1b03f5adf6d3371339bbcc3c7bfb8a5e2614789 (diff)
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.php4
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) {