diff options
author | macjohnny <estebanmarin@gmx.ch> | 2014-06-19 11:41:29 +0200 |
---|---|---|
committer | macjohnny <estebanmarin@gmx.ch> | 2014-06-19 11:41:29 +0200 |
commit | 18c7c94b7a2aafbcf3578e5aa76cc937b0e31538 (patch) | |
tree | e2d898f196c615d7f27e461cf5bad48295a0214c /lib/private | |
parent | 356e4b66652ef668980e995d1fde54bcaf9a8fed (diff) | |
download | nextcloud-server-18c7c94b7a2aafbcf3578e5aa76cc937b0e31538.tar.gz nextcloud-server-18c7c94b7a2aafbcf3578e5aa76cc937b0e31538.zip |
Update manager.php
added description and blank lines in getUserGroupIds
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/group/manager.php | 3 |
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; } |