From 0d03b6ca18f70a644e98175c91a97a60aabc2b40 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 3 Dec 2010 00:06:05 +0000 Subject: [PATCH] Kill off userNotPrivilegedMessage, not used after r77617 --- includes/specials/SpecialUserlogin.php | 16 ---------------- 1 file changed, 16 deletions(-) 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; -- 2.20.1