summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-11-16 19:41:22 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-11-18 08:48:45 +0100
commit3cf39c573f389ca0d55ee2e7dbfe05a518ef94a3 (patch)
treea64887800d551c01ac84f3132ad8297ad47c1f0e /lib/base.php
parentb5ba1dec5d7e6a9822185d76a5952244d0152051 (diff)
downloadnextcloud-server-3cf39c573f389ca0d55ee2e7dbfe05a518ef94a3.tar.gz
nextcloud-server-3cf39c573f389ca0d55ee2e7dbfe05a518ef94a3.zip
Allow lazy app registration
During app installation we run migration steps. Those steps may use services the app registers or classes from composer. Hence we have to make sure the app runs through the registration. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7f666daceb2..115a0968af2 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -641,7 +641,7 @@ class OC {
/** @var \OC\AppFramework\Bootstrap\Coordinator $bootstrapCoordinator */
$bootstrapCoordinator = \OC::$server->query(\OC\AppFramework\Bootstrap\Coordinator::class);
- $bootstrapCoordinator->runRegistration();
+ $bootstrapCoordinator->runInitialRegistration();
\OC::$server->getEventLogger()->start('init_session', 'Initialize session');
OC_App::loadApps(['session']);