Update group.php
This commit is contained in:
parent
0af8aa689f
commit
b1094cfe82
1 changed files with 0 additions and 6 deletions
|
@ -187,12 +187,6 @@ class OC_Group {
|
|||
public static function getUserGroups($uid) {
|
||||
$user = self::$userManager->get($uid);
|
||||
if ($user) {
|
||||
/*$groups = self::getManager()->getUserGroups($user);
|
||||
$groupIds = array();
|
||||
foreach ($groups as $group) {
|
||||
$groupIds[] = $group->getGID();
|
||||
}
|
||||
return $groupIds;*/
|
||||
return self::getManager()->getUserGroupIds($user);
|
||||
} else {
|
||||
return array();
|
||||
|
|
Loading…
Reference in a new issue