diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-04-28 00:19:53 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-04-28 00:19:53 +0300 |
commit | 7b773278322813944aa366a0da52e4daa1f48acc (patch) | |
tree | 8638b1b9ee8428d195874d483cbedcd68894d8d8 | |
parent | 938f14a410c936bfc7a18bc90d73201b9afec2d0 (diff) |
rm dead codefix/32188/simplify-speedify-search-in-groups
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r-- | lib/private/Group/Manager.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/private/Group/Manager.php b/lib/private/Group/Manager.php index 93e65b723e2..1fce2ec2946 100644 --- a/lib/private/Group/Manager.php +++ b/lib/private/Group/Manager.php @@ -339,18 +339,6 @@ class Manager extends PublicEmitter implements IGroupManager { } /** - * get an array of groupid and displayName for a user - * - * @param IUser $user - * @return array ['displayName' => displayname] - */ - public function getUserGroupNames(IUser $user) { - return array_map(function ($group) { - return ['displayName' => $group->getDisplayName()]; - }, $this->getUserGroups($user)); - } - - /** * get a list of all display names in a group * * @param string $gid |