[Pkg-owncloud-commits] [owncloud] 42/223: Update group.php

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:04 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit b1094cfe82ffeaddd4d0cc9f241427d5d1b88ad2
Author: macjohnny <estebanmarin at gmx.ch>
Date:   Thu Jun 12 11:28:57 2014 +0200

    Update group.php
---
 lib/private/group.php | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/private/group.php b/lib/private/group.php
index 6bc6d78..bd9e3d3 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();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list