diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-05-08 17:46:35 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-10 09:14:26 +0200 |
commit | e77ba0280a0ebceef348750f5ff9738012e2b8fb (patch) | |
tree | 581e41f677eb86ba79cc3f243cce24e04dfd352c /lib/group/example.php | |
parent | ac2e0cd6e450607585fbac2ec00a952744a4a36b (diff) | |
download | nextcloud-server-e77ba0280a0ebceef348750f5ff9738012e2b8fb.tar.gz nextcloud-server-e77ba0280a0ebceef348750f5ff9738012e2b8fb.zip |
Implement default functions in OC_Group backend
Simplifies calling these functions, and makes code simpler
functions:
inGroup
getUserGroups
getGroups
usersInGroup
Diffstat (limited to 'lib/group/example.php')
-rw-r--r-- | lib/group/example.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/group/example.php b/lib/group/example.php index a88159f91be..11a14b5e785 100644 --- a/lib/group/example.php +++ b/lib/group/example.php @@ -94,6 +94,13 @@ abstract class OC_Group_Example { public static function getGroups(){} /** + * check if a group exists + * @param string $gid + * @return bool + */ + public function groupExists($gid){} + + /** * @brief get a list of all users in a group * @returns array with user ids */ |