r51733 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51732‎ | r51733 | r51734 >
Date:09:05, 11 June 2009
Author:catrope
Status:ok
Tags:
Comment:
Remove unused global left in r51727
Modified paths:
  • /trunk/phase3/includes/api/ApiQuerySiteinfo.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php
@@ -393,7 +393,6 @@
394394 }
395395
396396 public function appendLanguages( $property ) {
397 - global $wgLanguageNames;
398397 $data = array();
399398 foreach( Language::getLanguageNames() as $code => $name ) {
400399 $lang = array( 'code' => $code );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r51727Per code review: Use Language::getLanguageNames() instead.demon04:49, 11 June 2009

Status & tagging log