You are here

function user_admin_access_delete_confirm_submit in Drupal 5

Same name and namespace in other branches
  1. 4 modules/user.module \user_admin_access_delete_confirm_submit()
  2. 6 modules/user/user.admin.inc \user_admin_access_delete_confirm_submit()

File

modules/user/user.module, line 1704
Enables the user registration and login system.

Code

function user_admin_access_delete_confirm_submit($form_id, $form_values) {
  db_query('DELETE FROM {access} WHERE aid = %d', $form_values['aid']);
  drupal_set_message(t('The access rule has been deleted.'));
  return 'admin/user/rules';
}