diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-01 13:27:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 13:27:12 +0200 |
commit | 3ae439710e76de6916584ada18a5baea9838e300 (patch) | |
tree | 0efcbda5828d545023189b0bf27bc7441e9754bc /lib/private/Server.php | |
parent | 7ea84277f886a1f59a80011ccdb80c71a2105c18 (diff) | |
parent | 1626a56ddab715e3c6af8081a9d696c74147ff79 (diff) | |
download | nextcloud-server-3ae439710e76de6916584ada18a5baea9838e300.tar.gz nextcloud-server-3ae439710e76de6916584ada18a5baea9838e300.zip |
Merge pull request #33764 from nextcloud/cloudid-cache
cache cloud id data in CloudIdManager
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r-- | lib/private/Server.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index f18ac7b6534..c1a50cfcaff 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -1365,7 +1365,13 @@ class Server extends ServerContainer implements IServerContainer { }); $this->registerService(ICloudIdManager::class, function (ContainerInterface $c) { - return new CloudIdManager($c->get(\OCP\Contacts\IManager::class), $c->get(IURLGenerator::class), $c->get(IUserManager::class)); + return new CloudIdManager( + $c->get(\OCP\Contacts\IManager::class), + $c->get(IURLGenerator::class), + $c->get(IUserManager::class), + $c->get(ICacheFactory::class), + $c->get(IEventDispatcher::class), + ); }); $this->registerAlias(\OCP\GlobalScale\IConfig::class, \OC\GlobalScale\Config::class); |