summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2022-11-03 12:51:29 +0100
committerAnna (Rebase PR Action) <miaulalala@users.noreply.github.com>2022-11-28 11:52:55 +0000
commit7c4ceb444cb22f519cd30af5cd22304b960c8818 (patch)
tree99007ffe7cdc0a7f7360f4793cb92a6f18b98c52 /lib/private/Server.php
parent08587c9de681f3335d81c327fd524f229380067a (diff)
downloadnextcloud-server-7c4ceb444cb22f519cd30af5cd22304b960c8818.tar.gz
nextcloud-server-7c4ceb444cb22f519cd30af5cd22304b960c8818.zip
Add group display name cache
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 39bfc08dafd..07e90843a98 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -487,7 +487,8 @@ class Server extends ServerContainer implements IServerContainer {
$groupManager = new \OC\Group\Manager(
$this->get(IUserManager::class),
$c->get(SymfonyAdapter::class),
- $this->get(LoggerInterface::class)
+ $this->get(LoggerInterface::class),
+ $this->get(ICacheFactory::class)
);
$groupManager->listen('\OC\Group', 'preCreate', function ($gid) {
/** @var IEventDispatcher $dispatcher */