Bollocks, something's wrong with that - it's buggered up the link when account creati...
authorRob Church <robchurch@users.mediawiki.org>
Wed, 22 Feb 2006 21:40:30 +0000 (21:40 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Wed, 22 Feb 2006 21:40:30 +0000 (21:40 +0000)
includes/SpecialUserlogin.php

index de67fda..4070972 100644 (file)
@@ -485,9 +485,9 @@ class LoginForm {
                $link .= '</a>';
 
                # 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 );