#244597 by kbahey: remove cruft from user_login(), that added extra message to the form was never used or displayed

5.x
Neil Drumm 2008-04-10 02:11:16 +00:00
parent 6eff921bcb
commit 73eff99bf4
1 changed files with 1 additions and 4 deletions

View File

@ -895,7 +895,7 @@ function user_auth_help_links() {
function user_login($msg = '') {
function user_login() {
global $user;
// If we are already logged on, go to the user page instead.
@ -904,9 +904,6 @@ function user_login($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,