summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/group/manager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php
index fc90d4cb643..e6470ae3a4e 100644
--- a/lib/private/group/manager.php
+++ b/lib/private/group/manager.php
@@ -182,7 +182,9 @@ class Manager extends PublicEmitter {
$this->cachedUserGroups[$uid] = $groups;
return $this->cachedUserGroups[$uid];
}
+
/**
+ * get a list of group ids for a user
* @param \OC\User\User $user
* @return array with group names
*/
@@ -193,7 +195,6 @@ class Manager extends PublicEmitter {
$groupIds = array();
foreach ($this->backends as $backend) {
$groupIds = array_merge($groupIds, $backend->getUserGroups($user->getUID()));
-
}
return $groupIds;
}