You are here

function user_multiple_delete_confirm_submit in Drupal 5

Same name and namespace in other branches
  1. 6 modules/user/user.module \user_multiple_delete_confirm_submit()

File

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

Code

function user_multiple_delete_confirm_submit($form_id, $form_values) {
  if ($form_values['confirm']) {
    foreach ($form_values['accounts'] as $uid => $value) {
      user_delete($form_values, $uid);
    }
    drupal_set_message(t('The users have been deleted.'));
  }
  return 'admin/user/user';
}