summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/ILDAPGroupPlugin.php
diff options
context:
space:
mode:
authorVinicius Cubas Brand <viniciuscb@gmail.com>2017-11-02 20:19:03 -0200
committerVinicius Cubas Brand <viniciuscb@gmail.com>2017-11-03 11:42:59 -0200
commitfa565750d1f94f9d3f7e2229e7ec7aadd0d06063 (patch)
tree253341362a6379131828ca97c64f52e09597bd77 /apps/user_ldap/lib/ILDAPGroupPlugin.php
parent10ca793452e75ecd276589f8ad916f3090ecb441 (diff)
downloadnextcloud-server-fa565750d1f94f9d3f7e2229e7ec7aadd0d06063.tar.gz
nextcloud-server-fa565750d1f94f9d3f7e2229e7ec7aadd0d06063.zip
User_LDAP plugins: smaller fixes
Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Diffstat (limited to 'apps/user_ldap/lib/ILDAPGroupPlugin.php')
-rw-r--r--apps/user_ldap/lib/ILDAPGroupPlugin.php14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/user_ldap/lib/ILDAPGroupPlugin.php b/apps/user_ldap/lib/ILDAPGroupPlugin.php
index 468424a560d..8afc4c86480 100644
--- a/apps/user_ldap/lib/ILDAPGroupPlugin.php
+++ b/apps/user_ldap/lib/ILDAPGroupPlugin.php
@@ -39,14 +39,14 @@ interface ILDAPGroupPlugin {
* @param string $gid
* @return string|null The group DN if group creation was successful.
*/
- public function createGroup($gid);
+ public function createGroup($gid);
/**
* delete a group
* @param string $gid gid of the group to delete
* @return bool
*/
- public function deleteGroup($gid);
+ public function deleteGroup($gid);
/**
* Add a user to a group
@@ -56,7 +56,7 @@ interface ILDAPGroupPlugin {
*
* Adds a user to a group.
*/
- public function addToGroup($uid, $gid);
+ public function addToGroup($uid, $gid);
/**
* Removes a user from a group
@@ -66,7 +66,7 @@ interface ILDAPGroupPlugin {
*
* removes the user from a group.
*/
- public function removeFromGroup($uid, $gid);
+ public function removeFromGroup($uid, $gid);
/**
* get the number of all users matching the search string in a group
@@ -74,15 +74,13 @@ interface ILDAPGroupPlugin {
* @param string $search
* @return int|false
*/
- public function countUsersInGroup($gid, $search = '');
+ public function countUsersInGroup($gid, $search = '');
/**
* get an array with group details
* @param string $gid
* @return array|false
*/
- public function getGroupDetails($gid);
-
-
+ public function getGroupDetails($gid);
}