diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-10 01:35:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-10 01:35:31 +0000 |
commit | 1dc36aa3d325d78829decc146d74857ad5ebb38e (patch) | |
tree | 964812fefab7686d675de40c37b655d33f5da1da | |
parent | 08aa23227e45053117d273e517d7f386edc117ff (diff) | |
download | brdo-1dc36aa3d325d78829decc146d74857ad5ebb38e.tar.gz brdo-1dc36aa3d325d78829decc146d74857ad5ebb38e.tar.bz2 |
- Patch #244597 by drumm: remove login form text as this can now be accomplished using hook form_alter.
-rw-r--r-- | modules/user/user.module | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 8e9d9a186..8d04b730b 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1148,7 +1148,7 @@ function user_set_authmaps($account, $authmaps) { * * @ingroup forms */ -function user_login(&$form_state, $msg = '') { +function user_login(&$form_state) { global $user; // If we are already logged on, go to the user page instead. @@ -1157,9 +1157,6 @@ function user_login(&$form_state, $msg = '') { } // Display login form: - if ($msg) { - $form['message'] = array('#value' => '<p>'. check_plain($msg) .'</p>'); - } $form['name'] = array('#type' => 'textfield', '#title' => t('Username'), '#size' => 60, |