function user_multiple_delete_confirm_submit

6.x user.module user_multiple_delete_confirm_submit($form, &$form_state)

File

drupal-6.x/modules/user/user.module, line 1943
Enables the user registration and login system.

Code

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