function user_admin_access_delete_confirm_submit in Drupal 6
Same name and namespace in other branches
- 4 modules/user.module \user_admin_access_delete_confirm_submit()
- 5 modules/user/user.module \user_admin_access_delete_confirm_submit()
File
- modules/
user/ user.admin.inc, line 897 - Admin page callback file for the user module.
Code
function user_admin_access_delete_confirm_submit($form, &$form_state) {
db_query('DELETE FROM {access} WHERE aid = %d', $form_state['values']['aid']);
drupal_set_message(t('The access rule has been deleted.'));
$form_state['redirect'] = 'admin/user/rules';
return;
}