diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-07-09 08:00:03 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-07-14 16:08:05 +0200 |
commit | 7179002600ccde6d6757c068c9388430ed71a2f1 (patch) | |
tree | 5b0fd29678ce392db2764923d5f6bb393435d596 /lib/private/Server.php | |
parent | f43c2b45d8177e8c924b8f97f80c92164a3d5412 (diff) | |
download | nextcloud-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.php | 2 |
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); |