src/snac/server/database/DBUser.php
/**
     * Remove user from group
     *
     * Remove a group-user link by deleting a record from table appuser_group_link. The user will no longer be
     * in the group. The semantics are confusing because it is a bi-directional link. The user is in this
     * group (has this group), and the group has this user (is related to this user).
     *
     * After removing the user, refresh the User group list by reading it back from the database.
     *
     * @param \snac\data\User $user A user
     * @param \snac\data\Group $group Group object
     */
Remove user from group
Remove a group-user link by deleting a record from table appuser_group_link. The user will no longer be
in the group. The semantics are confusing because it is a bi-directional link. The user is in this
group (has this group), and the group has this user (is related to this user).

After removing the user, refresh the User group list by reading it back from the database.


Remove user from group Remove a group - user link by deleting a record from table appuser_group_link . The user will no longer be in the group . The semantics are confusing because it is a bi - directional link . The user is in this group ( has this group ) and the group has this user ( is related to this user ) . After removing the user refresh the User group list by reading it back from the database .
public function removeUserFromGroup($user, $group)
    {
        $this->sql->deleteGroupLink($user->getUserID(), $group->getID());
        return true;
    }
public function removeUserFromGroup ( $ user , $ group ) { $ this -> sql -> deleteGroupLink ( $ user -> getUserID ( ) , $ group -> getID ( ) ) ; return true ; }
Remove user from group
 Remove a group-user link by deleting a record from table appuser_group_link.
Remove user from group Remove a group - user link by deleting a record from table appuser_group_link .