Index: trunk/extensions/Maps/Services/YahooMaps/Maps_YahooMaps.php |
— | — | @@ -93,7 +93,6 @@ |
94 | 94 | * @return array |
95 | 95 | */ |
96 | 96 | protected function getDependencies() { |
97 | | - global $wgJsMimeType; |
98 | 97 | global $egYahooMapsKey, $egMapsScriptPath, $egMapsStyleVersion, $egMapsJsExt; |
99 | 98 | |
100 | 99 | return array( |
Index: trunk/extensions/Maps/Services/OpenLayers/Maps_OpenLayers.php |
— | — | @@ -69,7 +69,6 @@ |
70 | 70 | * @return array |
71 | 71 | */ |
72 | 72 | protected function getDependencies() { |
73 | | - global $wgJsMimeType; |
74 | 73 | global $egMapsStyleVersion, $egMapsJsExt, $egMapsScriptPath; |
75 | 74 | |
76 | 75 | return array( |
— | — | @@ -140,7 +139,6 @@ |
141 | 140 | * @param string $layer The layer to check (and load the dependencies for |
142 | 141 | */ |
143 | 142 | public function loadDependencyWhenNeeded( $layer ) { |
144 | | - global $wgJsMimeType; |
145 | 143 | global $egMapsOLAvailableLayers, $egMapsOLLayerDependencies, $egMapsOLLoadedLayers; |
146 | 144 | |
147 | 145 | // Check if there is a dependency refered by the layer definition. |
Index: trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php |
— | — | @@ -233,7 +233,7 @@ |
234 | 234 | * FIXME: layer onload function kills maps for some reason |
235 | 235 | */ |
236 | 236 | public function addOverlayOutput( &$output, $mapName, $overlays, $controls ) { |
237 | | - global $egMapsGMapOverlays, $egMapsGoogleOverlLoaded, $wgJsMimeType; |
| 237 | + global $egMapsGMapOverlays, $egMapsGoogleOverlLoaded; |
238 | 238 | |
239 | 239 | // Check to see if there is an overlays control. |
240 | 240 | $hasOverlayControl = in_string( 'overlays', $controls ); |