From f837c08465c81386bbc16688a2511ca4b5328997 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 19 Feb 2016 09:43:20 +0100 Subject: [PATCH] Fix even more --- lib/private/group/dummy.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5