function user_admin_access_delete_confirm_submit in Drupal 4
Same name and namespace in other branches
- 5 modules/user/user.module \user_admin_access_delete_confirm_submit()
- 6 modules/user/user.admin.inc \user_admin_access_delete_confirm_submit()
File
- modules/
user.module, line 1641 - Enables the user registration and login system.
Code
function user_admin_access_delete_confirm_submit($form_id, $edit) {
db_query('DELETE FROM {access} WHERE aid = %d', $edit['aid']);
drupal_set_message(t('The access rule has been deleted.'));
return 'admin/access/rules';
}