From 1ad32d78318231a4ebbdccc503186f27e922c9de Mon Sep 17 00:00:00 2001 From: Rob Church Date: Wed, 22 Feb 2006 21:40:30 +0000 Subject: [PATCH] Bollocks, something's wrong with that - it's buggered up the link when account creation is allowed, too. Reverting for now; will recommit when fixed. --- includes/SpecialUserlogin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index de67fda9db..40709725ac 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -485,9 +485,9 @@ class LoginForm { $link .= ''; # Don't show a "create account" link if the user can't - if( $this->mType == 'signup' || ( $this->mType == 'login' && $wgUser->isAllowedToCreateAccount() ) ) { + #if( $this->mType == 'signup' || ( $this->mType == 'login' && $wgUser->isAllowedToCreateAccount() ) ) { $template->set( 'link', wfMsgHtml( $linkmsg, $link ) ); - } + #} $template->set( 'header', '' ); $template->set( 'name', $this->mName ); -- 2.20.1