Remove unused $wgContLang globals after refactoring at r81456 and r81456
authorPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:40:07 +0000 (22:40 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 8 Feb 2011 22:40:07 +0000 (22:40 +0000)
includes/EditPage.php
includes/HistoryPage.php

index 2969014..3569f56 100644 (file)
@@ -124,7 +124,7 @@ class EditPage {
         * @private
         */
        function getContent( $def_text = '' ) {
-               global $wgOut, $wgRequest, $wgParser, $wgContLang;
+               global $wgOut, $wgRequest, $wgParser;
 
                wfProfileIn( __METHOD__ );
                # Get variables from query string :P
index b96e0de..63b14b1 100644 (file)
@@ -380,7 +380,7 @@ class HistoryPager extends ReverseChronologicalPager {
         * @return string HTML output
         */
        function getStartBody() {
-               global $wgScript, $wgUser, $wgOut, $wgContLang;
+               global $wgScript, $wgUser, $wgOut;
                $this->lastRow = false;
                $this->counter = 1;
                $this->oldIdChecked = 0;