summaryrefslogtreecommitdiff
path: root/modules/user/user.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.pages.inc')
-rw-r--r--modules/user/user.pages.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc
index 1188b2518..7d0400d96 100644
--- a/modules/user/user.pages.inc
+++ b/modules/user/user.pages.inc
@@ -320,6 +320,8 @@ function user_confirm_delete(&$form_state, $account) {
*/
function user_confirm_delete_submit($form, &$form_state) {
user_delete($form_state['values'], $form_state['values']['_account']->uid);
+ drupal_set_message(t('%name has been deleted.', array('%name' => $form_state['values']['_account']->name)));
+
if (!isset($_REQUEST['destination'])) {
$form_state['redirect'] = 'admin/user/user';
}