summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-26 19:31:00 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-26 19:31:00 +0000
commit5885925b0d2881277c22c6d70d86f1bc060fb133 (patch)
tree828d46033a71340a7edc2bc71133767e4b105920 /modules/user.module
parente01c325d4ff7adc07d552907f7fb7fdddc56f9b0 (diff)
downloadbrdo-5885925b0d2881277c22c6d70d86f1bc060fb133.tar.gz
brdo-5885925b0d2881277c22c6d70d86f1bc060fb133.tar.bz2
#53348, Handling of deleted/blocked user accounts, patch by jreyero and Zen
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index 7527b7794..762a54422 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -1369,7 +1369,7 @@ function user_edit($category = 'account') {
drupal_goto('admin/user');
}
else {
- return confirm_form('user_confirm_delete', $form, t('Are you sure you want to delete the account %name?', array('%name' => theme('placeholder', $account->name))), 'user/'. $account->uid, t('Deleting a user will remove all their submissions as well. This action cannot be undone.'), t('Delete'));
+ return confirm_form('user_confirm_delete', array(), t('Are you sure you want to delete the account %name?', array('%name' => theme('placeholder', $account->name))), 'user/'. $account->uid, t('All submissions made by this user will be attributed to the anonymous account. This action cannot be undone.'), t('Delete'), t('Cancel'));
}
}
else if ($_POST['op'] == t('Delete')) {