r68223 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68222‎ | r68223 | r68224 >
Date:17:32, 18 June 2010
Author:ialex
Status:deferred
Tags:
Comment:
removed unused globals
Modified paths:
  • /trunk/extensions/Maps/Maps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps.php
@@ -78,9 +78,9 @@
7979 * Initialization function for the Maps extension.
8080 */
8181 function efMapsSetup() {
82 - global $wgExtensionCredits, $wgLang, $wgAutoloadClasses, $IP, $wgStyleVersion, $wgScriptPath, $wgJsMimeType, $wgExtensionAssetsPath;
83 - global $egMapsDefaultService, $egMapsAvailableServices, $egMapsServices, $egMapsDefaultGeoService, $egMapsScriptPath;
84 - global $egMapsDir, $egMapsAvailableFeatures, $egMapsUseMinJs, $egMapsJsExt, $egMapsStyleVersion;
 82+ global $wgExtensionCredits, $wgLang, $wgAutoloadClasses;
 83+ global $egMapsDefaultService, $egMapsAvailableServices, $egMapsServices;
 84+ global $egMapsDir, $egMapsUseMinJs, $egMapsJsExt;
8585
8686 // Autoload the includes/ classes.
8787 $wgAutoloadClasses['MapsMapper'] = $egMapsDir . 'Includes/Maps_Mapper.php';
@@ -97,7 +97,7 @@
9898 require_once $egMapsDir . 'Services/Maps_iMappingService.php';
9999 $wgAutoloadClasses['MapsMappingService'] = $egMapsDir . 'Services/Maps_MappingService.php';
100100
101 - wfRunHooks( 'MappingServiceLoad' );
 101+ wfRunHooks( 'MappingServiceLoad' );
102102
103103 wfRunHooks( 'MappingFeatureLoad' );
104104

Status & tagging log