Update manager.php

added description and blank lines in getUserGroupIds
This commit is contained in:
macjohnny 2014-06-19 11:41:29 +02:00
parent 356e4b6665
commit 18c7c94b7a
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}