From b0f5a521ad20a705c17f9210c9b8f4ecce431f4e Mon Sep 17 00:00:00 2001 From: Platonides Date: Tue, 8 Feb 2011 22:40:07 +0000 Subject: [PATCH] Remove unused $wgContLang globals after refactoring at r81456 and r81456 --- includes/EditPage.php | 2 +- includes/HistoryPage.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1