Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-04-28 00:19:53 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-04-28 00:19:53 +0300
commit7b773278322813944aa366a0da52e4daa1f48acc (patch)
tree8638b1b9ee8428d195874d483cbedcd68894d8d8
parent938f14a410c936bfc7a18bc90d73201b9afec2d0 (diff)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--lib/private/Group/Manager.php12
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