Kill off userNotPrivilegedMessage, not used after r77617
authorSam Reed <reedy@users.mediawiki.org>
Fri, 3 Dec 2010 00:06:05 +0000 (00:06 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 3 Dec 2010 00:06:05 +0000 (00:06 +0000)
includes/specials/SpecialUserlogin.php

index 9a2bfa7..65b408e 100644 (file)
@@ -896,22 +896,6 @@ class LoginForm {
                }
        }
 
-       /** */
-       function userNotPrivilegedMessage( $errors ) {
-               global $wgOut;
-
-               $wgOut->setPageTitle( wfMsg( 'permissionserrors' ) );
-               $wgOut->setRobotPolicy( 'noindex,nofollow' );
-               $wgOut->setArticleRelated( false );
-
-               $wgOut->addWikiText( $wgOut->formatPermissionsErrorMessage( $errors, 'createaccount' ) );
-               // Stuff that might want to be added at the end. For example, instruc-
-               // tions if blocked.
-               $wgOut->addWikiMsg( 'cantcreateaccount-nonblock-text' );
-
-               $wgOut->returnToMain( false );
-       }
-
        /** */
        function userBlockedMessage() {
                global $wgOut, $wgUser;