]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update group.php
authormacjohnny <estebanmarin@gmx.ch>
Thu, 12 Jun 2014 09:28:57 +0000 (11:28 +0200)
committermacjohnny <estebanmarin@gmx.ch>
Thu, 12 Jun 2014 09:28:57 +0000 (11:28 +0200)
lib/private/group.php

index 6bc6d78bbaf5696f034a2fcd472ad145c0d84634..bd9e3d37d1f5f60b8d9d2fd5decfe5122f9b005a 100644 (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();