Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/174209

Change subject: Use Parser::SFH_OBJECT_ARGS class const
......................................................................

Use Parser::SFH_OBJECT_ARGS class const

Instead of the global const

Change-Id: I657582e7b2e139a78b8037ddec07e355bc57db5d
---
M GeoDataHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GeoData 
refs/changes/09/174209/1

diff --git a/GeoDataHooks.php b/GeoDataHooks.php
index c32075d..291b5ec 100644
--- a/GeoDataHooks.php
+++ b/GeoDataHooks.php
@@ -61,7 +61,7 @@
                if ( !$wgGeoDataDisableParserFunction ) {
                        $parser->setFunctionHook( 'coordinates',
                                array( new CoordinatesParserFunction( $parser 
), 'coordinates' ),
-                               SFH_OBJECT_ARGS
+                               Parser::SFH_OBJECT_ARGS
                        );
                }
                return true;

-- 
To view, visit https://gerrit.wikimedia.org/r/174209
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I657582e7b2e139a78b8037ddec07e355bc57db5d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GeoData
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to