You are here

function user_confirm_delete in Drupal 5

Same name and namespace in other branches
  1. 6 modules/user/user.pages.inc \user_confirm_delete()
1 string reference to 'user_confirm_delete'
user_edit in modules/user/user.module

File

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

Code

function user_confirm_delete($name, $uid) {
  $form['uid'] = array(
    '#type' => 'value',
    '#value' => $uid,
  );
  return confirm_form($form, t('Are you sure you want to delete the account %name?', array(
    '%name' => $name,
  )), 'user/' . $uid, t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'), t('Delete'), t('Cancel'));
}