r67957 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r67956‎ | r67957 | r67958 >
Date:16:26, 13 June 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Removed some redundant stuff
Modified paths:
  • /trunk/extensions/Maps/Features/Maps_ParserFunctions.php (modified) (history)
  • /trunk/extensions/Maps/Geocoders/Maps_BaseGeocoder.php (modified) (history)
  • /trunk/extensions/Maps/Geocoders/Maps_Geocoder.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Geocoders/Maps_BaseGeocoder.php
@@ -118,4 +118,4 @@
119119 return count( $match ) > 1 ? $match[1] : false;
120120 }
121121
122 -}
 122+}
\ No newline at end of file
Index: trunk/extensions/Maps/Geocoders/Maps_Geocoder.php
@@ -165,4 +165,4 @@
166166
167167 return $service;
168168 }
169 -}
 169+}
\ No newline at end of file
Index: trunk/extensions/Maps/Features/Maps_ParserFunctions.php
@@ -29,7 +29,7 @@
3030 * and will load the required classes.
3131 */
3232 public static function initialize() {
33 - global $egMapsDir, $egMapsFeatures;
 33+ global $egMapsFeatures;
3434
3535 include_once dirname( __FILE__ ) . '/Maps_iMapParserFunction.php';
3636
@@ -55,7 +55,7 @@
5656 * @return array
5757 */
5858 public static function getMapHtml( Parser &$parser, array $args, $parserFunction ) {
59 - global $wgLang, $egValidatorErrorLevel, $egValidatorFatalLevel, $egMapsServices;
 59+ global $egValidatorFatalLevel, $egMapsServices;
6060
6161 array_shift( $args ); // We already know the $parser.
6262

Status & tagging log