Remove unused global faster than Reedy.
authorPlatonides <platonides@users.mediawiki.org>
Sun, 25 Jul 2010 17:46:15 +0000 (17:46 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sun, 25 Jul 2010 17:46:15 +0000 (17:46 +0000)
includes/OutputPage.php

index a9ea83b..be9c459 100644 (file)
@@ -1848,7 +1848,6 @@ class OutputPage {
                if ( $action == null ) {
                        $text = wfMsgNoTrans( 'permissionserrorstext', count( $errors ) ) . "\n\n";
                } else {
-                       global $wgLang;
                        $action_desc = wfMsgNoTrans( "action-$action" );
                        $text = wfMsgNoTrans(
                                'permissionserrorstext-withaction',