diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-19 09:43:20 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-02-19 09:43:20 +0100 |
commit | f837c08465c81386bbc16688a2511ca4b5328997 (patch) | |
tree | 600c26474a0263d401594550d50925c054502823 | |
parent | 8756a22c60b1128c02b05149f1d8bd8abb250a5b (diff) | |
download | nextcloud-server-f837c08465c81386bbc16688a2511ca4b5328997.tar.gz nextcloud-server-f837c08465c81386bbc16688a2511ca4b5328997.zip |
Fix even more
-rw-r--r-- | lib/private/group/dummy.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/group/dummy.php b/lib/private/group/dummy.php index 3e4dfeba5e3..97f00385954 100644 --- a/lib/private/group/dummy.php +++ b/lib/private/group/dummy.php @@ -106,7 +106,7 @@ class OC_Group_Dummy extends OC_Group_Backend { * Removes a user from a group * @param string $uid Name of the user to remove from group * @param string $gid Name of the group from which remove the user - * @return null|false + * @return bool * * removes the user from a group. */ @@ -114,6 +114,7 @@ class OC_Group_Dummy extends OC_Group_Backend { if(isset($this->groups[$gid])) { if(($index=array_search($uid, $this->groups[$gid]))!==false) { unset($this->groups[$gid][$index]); + return true; }else{ return false; } |