Update group.php

This commit is contained in:
macjohnny 2014-06-12 11:28:57 +02:00
parent 0af8aa689f
commit b1094cfe82
1 changed files with 0 additions and 6 deletions

View File

@ -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();