summaryrefslogtreecommitdiffstats
path: root/lib/private/group/manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/group/manager.php')
-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 3613c7547bd..dae6443e9d4 100644
--- a/lib/private/group/manager.php
+++ b/lib/private/group/manager.php
@@ -182,18 +182,6 @@ class Manager extends PublicEmitter {
$this->cachedUserGroups[$uid] = array_values($groups);
return $this->cachedUserGroups[$uid];
}
- /**
- * @param \OC\User\User $user
- * @return array with group names
- */
- public function getUserGroupIds($user) {
- $groupIds = array();
- foreach ($this->backends as $backend) {
- $groupIds = array_merge($groupIds, $backend->getUserGroups($user->getUID()));
-
- }
- return $groupIds;
- }
/**
* get a list of all display names in a group