From: Sam Reed Date: Fri, 3 Dec 2010 00:06:05 +0000 (+0000) Subject: Kill off userNotPrivilegedMessage, not used after r77617 X-Git-Tag: 1.31.0-rc.0~33630 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=0d03b6ca18f70a644e98175c91a97a60aabc2b40;p=lhc%2Fweb%2Fwiklou.git Kill off userNotPrivilegedMessage, not used after r77617 --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 9a2bfa7237..65b408efa7 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -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;