summaryrefslogtreecommitdiffstats
path: root/lib/group/backend.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-05 15:29:59 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-05 15:29:59 +0200
commitedecc5bca3af674d3af8cd8506b5571146dc0357 (patch)
tree58cd465141e67a9385836d78793e8b0d3715cfd5 /lib/group/backend.php
parent061abb88b568c4cdc35266fb8c32d1bfabcb8c8f (diff)
parentae915577487e4d12adba3e30e9fe8f34221191d8 (diff)
downloadnextcloud-server-edecc5bca3af674d3af8cd8506b5571146dc0357.tar.gz
nextcloud-server-edecc5bca3af674d3af8cd8506b5571146dc0357.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud
Diffstat (limited to 'lib/group/backend.php')
-rw-r--r--lib/group/backend.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/group/backend.php b/lib/group/backend.php
index 1b0b663f2ed..24778afd1e5 100644
--- a/lib/group/backend.php
+++ b/lib/group/backend.php
@@ -44,7 +44,7 @@ abstract class OC_Group_Backend {
OC_GROUP_BACKEND_ADD_TO_GROUP => 'addToGroup',
OC_GROUP_BACKEND_REMOVE_FROM_GOUP => 'removeFromGroup',
);
-
+
/**
* @brief Get all supported actions
* @returns bitwise-or'ed actions
@@ -62,7 +62,7 @@ abstract class OC_Group_Backend {
return $actions;
}
-
+
/**
* @brief Check if backend implements actions
* @param $actions bitwise-or'ed actions
@@ -83,7 +83,7 @@ abstract class OC_Group_Backend {
*
* Checks whether the user is member of a group or not.
*/
- public static function inGroup($uid, $gid){
+ public function inGroup($uid, $gid){
return in_array($gid, $this->getUserGroups($uid));
}
@@ -95,7 +95,7 @@ abstract class OC_Group_Backend {
* This function fetches all groups a user belongs to. It does not check
* if the user exists at all.
*/
- public static function getUserGroups($uid){
+ public function getUserGroups($uid){
return array();
}
@@ -105,7 +105,7 @@ abstract class OC_Group_Backend {
*
* Returns a list with all groups
*/
- public static function getGroups(){
+ public function getGroups(){
return array();
}
@@ -122,7 +122,7 @@ abstract class OC_Group_Backend {
* @brief get a list of all users in a group
* @returns array with user ids
*/
- public static function usersInGroup($gid){
+ public function usersInGroup($gid){
return array();
}