diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-11-15 15:33:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 15:33:48 +0100 |
commit | ce6e3a3a01ee33fb010382cb33f527dcb8989544 (patch) | |
tree | 22d50f2882ff770dc40bec34f3bcc1f7fa2cfff8 | |
parent | cb4e367a22232f2ad2f92b924577c7cddb76877e (diff) | |
parent | 909b46bb5300de5c0075759f7e61aa1b91ec765f (diff) | |
download | nextcloud-server-ce6e3a3a01ee33fb010382cb33f527dcb8989544.tar.gz nextcloud-server-ce6e3a3a01ee33fb010382cb33f527dcb8989544.zip |
Merge pull request #41495 from nextcloud/fix/ocp/register-availability-coordinator
fix(ocp): register IAvailabilityCoordinator service alias
-rw-r--r-- | lib/private/Server.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 80f9ba8bdd1..2dd97412eba 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -158,6 +158,7 @@ use OC\Tagging\TagMapper; use OC\Talk\Broker; use OC\Template\JSCombiner; use OC\Translation\TranslationManager; +use OC\User\AvailabilityCoordinator; use OC\User\DisplayNameCache; use OC\User\Listeners\BeforeUserDeletedListener; use OC\User\Listeners\UserChangedListener; @@ -265,6 +266,7 @@ use OCP\User\Events\UserChangedEvent; use OCP\User\Events\UserLoggedInEvent; use OCP\User\Events\UserLoggedInWithCookieEvent; use OCP\User\Events\UserLoggedOutEvent; +use OCP\User\IAvailabilityCoordinator; use Psr\Container\ContainerExceptionInterface; use Psr\Container\ContainerInterface; use Psr\Log\LoggerInterface; @@ -1435,6 +1437,8 @@ class Server extends ServerContainer implements IServerContainer { $this->registerAlias(IProfileManager::class, ProfileManager::class); + $this->registerAlias(IAvailabilityCoordinator::class, AvailabilityCoordinator::class); + $this->connectDispatcher(); } |