public static function delete($request, $match)
    {
        $group = Pluf_Shortcuts_GetObjectOr404('User_Group', $match['group_id']);
        $user = Pluf_Shortcuts_GetObjectOr404('User_Account', $match['user_id']);
        $group->delAssoc($user);
        return $user;
    }
public static function delete($request, $match)
    {
        $group = Pluf_Shortcuts_GetObjectOr404('User_Group', $match['group_id']);
        $user = Pluf_Shortcuts_GetObjectOr404('User_Account', $match['user_id']);
        $group->delAssoc($user);
        return $user;
    }
public static function delete ( $ request , $ match ) { $ group = Pluf_Shortcuts_GetObjectOr404 ( 'User_Group' , $ match [ 'group_id' ] ) ; $ user = Pluf_Shortcuts_GetObjectOr404 ( 'User_Account' , $ match [ 'user_id' ] ) ; $ group -> delAssoc ( $ user ) ; return $ user ; }
Deletes a user from a group.
Id of deleted user should be specified in the match.

@param Pluf_HTTP_Request $request
@param array $match
Deletes a user from a group . Id of deleted user should be specified in the match .