Ajout extension .cur.
[Plinn.git] / skins / control / remove_groups_in_group.py
1 ##parameters=groupId, remove_groups=[], ajax='', REQUEST=None
2
3 gtool = context.portal_groups
4 group = gtool.getGroupById(groupId)
5
6 for id in remove_groups :
7 group.removeGroup(id)
8
9 if REQUEST is not None :
10 return context.REQUEST. RESPONSE.redirect('%s/groups_members?group=%s&ajax=%s#assign_groups' % (context.portal_url(), groupId, ajax))