r54222 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r54221‎ | r54222 | r54223 >
Date:19:12, 2 August 2009
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Maps/Maps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps.php
@@ -56,7 +56,7 @@
5757 */
5858 function efMapsSetup() {
5959 global $wgExtensionCredits, $wgOut;
60 - global $egMapsDefaultService, $egMapsAvailableServices, $egMapsServices, $egMapsMainServices, $egMapsScriptPath, $egMapsDefaultGeoService, $egMapsAvailableGeoServices;
 60+ global $egMapsDefaultService, $egMapsAvailableServices, $egMapsServices, $egMapsScriptPath, $egMapsDefaultGeoService, $egMapsAvailableGeoServices;
6161
6262 efMapsValidateGoogleMapsKey();
6363
@@ -64,9 +64,7 @@
6565 $egMapsDefaultService = in_array($egMapsDefaultService, $egMapsAvailableServices) ? $egMapsDefaultService : $egMapsAvailableServices[0];
6666 $egMapsDefaultGeoService = in_array($egMapsDefaultGeoService, $egMapsAvailableGeoServices) ? $egMapsDefaultGeoService : $egMapsAvailableGeoServices[0];
6767
68 - $egMapsMainServices = array_keys($egMapsServices);
69 -
70 - $services_list = implode(', ', $egMapsMainServices);
 68+ $services_list = implode(', ', array_keys($egMapsServices));
7169
7270 wfLoadExtensionMessages( 'Maps' );
7371

Status & tagging log