Jeroen De Dauw has submitted this change and it was merged.

Change subject: Remove unused variable in PropertyParserFunction with undefined 
param
......................................................................


Remove unused variable in PropertyParserFunction with undefined param

Change-Id: I84be6b47c809e57843958de3cc37fd3a5b086dfc
---
M client/includes/parserhooks/PropertyParserFunction.php
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Jeroen De Dauw: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/client/includes/parserhooks/PropertyParserFunction.php 
b/client/includes/parserhooks/PropertyParserFunction.php
index 2efdf84..bc9a53d 100644
--- a/client/includes/parserhooks/PropertyParserFunction.php
+++ b/client/includes/parserhooks/PropertyParserFunction.php
@@ -219,7 +219,6 @@
                $propertyLabelResolver = 
$wikibaseClient->getStore()->getPropertyLabelResolver();
 
                $instance = new self( $parser, $entityId, $entityLookup, 
$propertyLabelResolver );
-               $formatter = $wikibaseClient->newSnakFormatter( 
SnakFormatter::FORMAT_WIKI, $options );
 
                $result = array(
                        $instance->doRender( $propertyLabel ),

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I84be6b47c809e57843958de3cc37fd3a5b086dfc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to