Commit 60f945bc authored by Dries's avatar Dries

- Patch #11138 by Al: fixed GUI problem with deleting users.
parent ff17aa0b
......@@ -1107,7 +1107,6 @@ function user_edit($category = 'account') {
db_query('DELETE FROM {authmap} WHERE uid = %d', $account->uid);
drupal_set_message(t('The account has been deleted.'));
module_invoke_all('user', 'delete', $edit, $account);
print theme('page', user_admin_account());
drupal_goto('admin/user');
}
else {
......
......@@ -1107,7 +1107,6 @@ function user_edit($category = 'account') {
db_query('DELETE FROM {authmap} WHERE uid = %d', $account->uid);
drupal_set_message(t('The account has been deleted.'));
module_invoke_all('user', 'delete', $edit, $account);
print theme('page', user_admin_account());
drupal_goto('admin/user');
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment