From 0a93ca698fb172a8d7895cd394b664db6f95c158 Mon Sep 17 00:00:00 2001 From: webchick Date: Thu, 18 Oct 2012 00:14:14 -0700 Subject: [PATCH] Issue #1168514 by mdm, Transition: Remove drupal_goto() from user_login(). --- core/modules/user/user.module | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/modules/user/user.module b/core/modules/user/user.module index fae45adccd48..c064427415e5 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -1578,12 +1578,6 @@ function user_set_authmaps($account, $authmaps) { * @ingroup forms */ function user_login($form, &$form_state) { - global $user; - - // If we are already logged on, go to the user page instead. - if ($user->uid) { - drupal_goto('user/' . $user->uid); - } // Display login form: $form['name'] = array('#type' => 'textfield',