X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Plinn.git/blobdiff_plain/3c4367d8e03450e9a73e61f4247145d2b6c86a33..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/skins/control/change_group.py?ds=sidebyside diff --git a/skins/control/change_group.py b/skins/control/change_group.py deleted file mode 100755 index d8cb65e..0000000 --- a/skins/control/change_group.py +++ /dev/null @@ -1,13 +0,0 @@ -##parameters=groupId, title='', description='', createSharedFolder=None, ajax='', REQUEST=None - -groupsTool = context.portal_groups -wGroup = groupsTool.getGroupById(groupId) -wGroup.setGroupProperties({'title' : title, 'description' : description}) -if createSharedFolder : - groupsTool.createGrouparea(groupId) - -if REQUEST is not None : - from ZTUtils import make_query as mq - url = context.portal_url() - red = context.REQUEST. RESPONSE.redirect - return red('%s/group_data?%s' % (url, mq(group=groupId, ajax=ajax, portal_status_message='Group modified.'))) \ No newline at end of file