diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-07-26 16:47:05 +0200 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-07-26 16:47:05 +0200 |
commit | e1d14ab461aa81363497e914cb6864da49ace372 (patch) | |
tree | 0895467ace65657d5d0abfac8d4e7eb32decbaa8 /lib/group.php | |
parent | 6ccd4e0cfb57d258301993157cf100061546f0c4 (diff) | |
parent | c8de77b3fddf52eeaf0f81224e9b4aa2085bcc59 (diff) | |
download | nextcloud-server-e1d14ab461aa81363497e914cb6864da49ace372.tar.gz nextcloud-server-e1d14ab461aa81363497e914cb6864da49ace372.zip |
Merge branch 'master' into subadmin
Diffstat (limited to 'lib/group.php')
-rw-r--r-- | lib/group.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/group.php b/lib/group.php index fb280c157e8..7b137f0f8f1 100644 --- a/lib/group.php +++ b/lib/group.php @@ -43,7 +43,7 @@ class OC_Group { * @returns true/false */ public static function useBackend( $backend ){ - if($backend instanceof OC_Group_Backend){ + if($backend instanceof OC_Group_Interface){ self::$_usedBackends[]=$backend; } } @@ -168,7 +168,7 @@ class OC_Group { if($run){ $succes=false; - + //add the user to the all backends that have the group foreach(self::$_usedBackends as $backend){ if(!$backend->implementsActions(OC_GROUP_BACKEND_ADD_TO_GROUP)) @@ -245,7 +245,7 @@ class OC_Group { asort($groups); return $groups; } - + /** * check if a group exists * @param string $gid @@ -259,7 +259,7 @@ class OC_Group { } return false; } - + /** * @brief get a list of all users in a group * @returns array with user ids |