r66720 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66719‎ | r66720 | r66721 >
Date:13:47, 21 May 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Added forgotten globals
Modified paths:
  • /trunk/extensions/SemanticMaps/GeoCoords/SM_GeoCoordsValue.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/GeoCoords/SM_GeoCoordsValue.php
@@ -180,6 +180,7 @@
181181 $this->unstub();
182182
183183 if ( $smgUseSpatialExtensions ) {
 184+ global $smgUseSpatialExtensions;
184185 // TODO
185186 }
186187 else {
@@ -194,6 +195,7 @@
195196 * @see SMWDataValue::getSignature
196197 */
197198 public function getSignature() {
 199+ global $smgUseSpatialExtensions;
198200 return $smgUseSpatialExtensions ? 'c' : 'ff';
199201 }
200202

Status & tagging log