Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -393,7 +393,6 @@ |
394 | 394 | } |
395 | 395 | |
396 | 396 | public function appendLanguages( $property ) { |
397 | | - global $wgLanguageNames; |
398 | 397 | $data = array(); |
399 | 398 | foreach( Language::getLanguageNames() as $code => $name ) { |
400 | 399 | $lang = array( 'code' => $code ); |