summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-07-09 08:00:03 +0200
committerJulius Härtl <jus@bitgrid.net>2021-07-14 16:08:05 +0200
commit7179002600ccde6d6757c068c9388430ed71a2f1 (patch)
tree5b0fd29678ce392db2764923d5f6bb393435d596 /lib/private/Server.php
parentf43c2b45d8177e8c924b8f97f80c92164a3d5412 (diff)
downloadnextcloud-server-7179002600ccde6d6757c068c9388430ed71a2f1.tar.gz
nextcloud-server-7179002600ccde6d6757c068c9388430ed71a2f1.zip
Allow to get a local cloud id without going through the contacts manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 03d6a4146ed..0320eda2b91 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -1286,7 +1286,7 @@ class Server extends ServerContainer implements IServerContainer {
});
$this->registerService(ICloudIdManager::class, function (ContainerInterface $c) {
- return new CloudIdManager($c->get(\OCP\Contacts\IManager::class));
+ return new CloudIdManager($c->get(\OCP\Contacts\IManager::class), $c->get(IURLGenerator::class), $c->get(IUserManager::class));
});
$this->registerAlias(\OCP\GlobalScale\IConfig::class, \OC\GlobalScale\Config::class);