From: Rob Church Date: Wed, 22 Feb 2006 21:40:30 +0000 (+0000) Subject: Bollocks, something's wrong with that - it's buggered up the link when account creati... X-Git-Tag: 1.6.0~302 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=1ad32d78318231a4ebbdccc503186f27e922c9de;p=lhc%2Fweb%2Fwiklou.git 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. --- 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 );