function user_admin_access_delete_confirm_submit

6.x user.admin.inc user_admin_access_delete_confirm_submit($form, &$form_state)

File

drupal-6.x/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;
}