diff options
Diffstat (limited to 'lib/private/group.php')
-rw-r--r-- | lib/private/group.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/private/group.php b/lib/private/group.php index 6bc6d78bbaf..bd9e3d37d1f 100644 --- a/lib/private/group.php +++ b/lib/private/group.php @@ -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(); |