From: Platonides Date: Wed, 22 Jun 2011 21:36:42 +0000 (+0000) Subject: Remove unused global $wgContLang X-Git-Tag: 1.31.0-rc.0~29351 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=690af6341e9e2e668b4969f5394774aee91cc4fa;p=lhc%2Fweb%2Fwiklou.git Remove unused global $wgContLang --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 2386a3a4ad..8f0be6358d 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -323,7 +323,6 @@ class ChangesList { * @return void */ public function insertArticleLink( &$s, &$rc, $unpatrolled, $watched ) { - global $wgContLang; # If it's a new article, there is no diff link, but if it hasn't been # patrolled yet, we need to give users a way to do so $params = array(); @@ -805,7 +804,7 @@ class EnhancedChangesList extends ChangesList { * Enhanced RC group */ protected function recentChangesBlockGroup( $block ) { - global $wgLang, $wgContLang, $wgRCShowChangedSize; + global $wgLang, $wgRCShowChangedSize; wfProfileIn( __METHOD__ ); diff --git a/includes/EditPage.php b/includes/EditPage.php index 78e770b2b7..108dfd6d51 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1815,7 +1815,7 @@ HTML 'style' => '' // avoid php notices when appending preferences (appending allows customAttribs['style'] to still work ); - global $wgBetterDirectionality, $wgContLang; + global $wgBetterDirectionality; if( $wgBetterDirectionality ) { $pageLang = $this->mTitle->getPageLanguage(); $attribs['lang'] = $pageLang->getCode();