function simple_access_delete_group_confirm_submit in Simple Access 7.2
Same name and namespace in other branches
- 5.2 simple_access.module \simple_access_delete_group_confirm_submit()
- 5 simple_access.module \simple_access_delete_group_confirm_submit()
- 6.2 simple_access.admin.inc \simple_access_delete_group_confirm_submit()
Delete group confirm submit callback.
File
- ./
simple_access.admin.inc, line 139 - House all the admin functions in inc to make the foot print a lot smaller.
Code
function simple_access_delete_group_confirm_submit($form, &$form_state) {
simple_access_delete_group($form_state['values']['gid']);
$form_state['redirect'] = 'admin/config/content/simple-access/groups';
}