From: Platonides Date: Tue, 8 Feb 2011 22:40:07 +0000 (+0000) Subject: Remove unused $wgContLang globals after refactoring at r81456 and r81456 X-Git-Tag: 1.31.0-rc.0~32103 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=b0f5a521ad20a705c17f9210c9b8f4ecce431f4e;p=lhc%2Fweb%2Fwiklou.git Remove unused $wgContLang globals after refactoring at r81456 and r81456 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 29690148d1..3569f56508 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -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 diff --git a/includes/HistoryPage.php b/includes/HistoryPage.php index b96e0de702..63b14b1a67 100644 --- a/includes/HistoryPage.php +++ b/includes/HistoryPage.php @@ -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;