diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-11-16 19:41:22 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-11-18 08:48:45 +0100 |
commit | 3cf39c573f389ca0d55ee2e7dbfe05a518ef94a3 (patch) | |
tree | a64887800d551c01ac84f3132ad8297ad47c1f0e /lib/base.php | |
parent | b5ba1dec5d7e6a9822185d76a5952244d0152051 (diff) | |
download | nextcloud-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.php | 2 |
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']); |