summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module
index 74688d42c..6e6f3f4d3 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -1354,7 +1354,7 @@ function user_admin_create($edit = array()) {
drupal_set_message(t('Created a new user account. No e-mail has been sent.'));
- return;
+ drupal_goto('admin/user');
}
}
diff --git a/modules/user/user.module b/modules/user/user.module
index 74688d42c..6e6f3f4d3 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1354,7 +1354,7 @@ function user_admin_create($edit = array()) {
drupal_set_message(t('Created a new user account. No e-mail has been sent.'));
- return;
+ drupal_goto('admin/user');
}
}