Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -897,22 +897,6 @@ |
898 | 898 | } |
899 | 899 | |
900 | 900 | /** */ |
901 | | - function userNotPrivilegedMessage( $errors ) { |
902 | | - global $wgOut; |
903 | | - |
904 | | - $wgOut->setPageTitle( wfMsg( 'permissionserrors' ) ); |
905 | | - $wgOut->setRobotPolicy( 'noindex,nofollow' ); |
906 | | - $wgOut->setArticleRelated( false ); |
907 | | - |
908 | | - $wgOut->addWikiText( $wgOut->formatPermissionsErrorMessage( $errors, 'createaccount' ) ); |
909 | | - // Stuff that might want to be added at the end. For example, instruc- |
910 | | - // tions if blocked. |
911 | | - $wgOut->addWikiMsg( 'cantcreateaccount-nonblock-text' ); |
912 | | - |
913 | | - $wgOut->returnToMain( false ); |
914 | | - } |
915 | | - |
916 | | - /** */ |
917 | 901 | function userBlockedMessage() { |
918 | 902 | global $wgOut, $wgUser; |
919 | 903 | |