public static function delete($request, $match)
    {
        $perm = Pluf_Shortcuts_GetObjectOr404('User_Role', $match['role_id']);
        $owner = Pluf_Shortcuts_GetObjectOr404('User_Group', $match['group_id']);
        $perm->delAssoc($owner);
        return $owner;
    }
public static function delete($request, $match)
    {
        $perm = Pluf_Shortcuts_GetObjectOr404('User_Role', $match['role_id']);
        $owner = Pluf_Shortcuts_GetObjectOr404('User_Group', $match['group_id']);
        $perm->delAssoc($owner);
        return $owner;
    }
public static function delete ( $ request , $ match ) { $ perm = Pluf_Shortcuts_GetObjectOr404 ( 'User_Role' , $ match [ 'role_id' ] ) ; $ owner = Pluf_Shortcuts_GetObjectOr404 ( 'User_Group' , $ match [ 'group_id' ] ) ; $ perm -> delAssoc ( $ owner ) ; return $ owner ; }
Deletes a group from a role.
Id of deleted group should be specify in the match.

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