#244597 by kbahey: remove cruft from user_login(), that added extra message to the form was never used or displayed
parent
6eff921bcb
commit
73eff99bf4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue