]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix even more
authorRoeland Jago Douma <rullzer@owncloud.com>
Fri, 19 Feb 2016 08:43:20 +0000 (09:43 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Fri, 19 Feb 2016 08:43:20 +0000 (09:43 +0100)
lib/private/group/dummy.php

index 3e4dfeba5e3e90258f647fb2a655240f9e95c520..97f0038595461dad12b47b2daec1a2179c8bbe3e 100644 (file)
@@ -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;
                        }