r74666 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74665‎ | r74666 | r74667 >
Date:15:50, 12 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed call to removed method
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/services/GoogleMaps/SM_GoogleMapsQP.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/services/GoogleMaps/SM_GoogleMapsQP.php
@@ -68,7 +68,7 @@
6969 public function getParameters() {
7070 $params = parent::getParameters();
7171
72 - $allowedTypes = MapsGoogleMaps::getTypeNames();
 72+ $allowedTypes = array_keys( MapsGoogleMaps::$mapTypes );
7373
7474 $params[] = array( 'name' => 'controls', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_controls' ), 'values' => MapsGoogleMaps::getControlNames() );
7575 $params[] = array( 'name' => 'types', 'type' => 'enum-list', 'description' => wfMsg( 'semanticmaps_paramdesc_types' ), 'values' => $allowedTypes );

Status & tagging log