Umherirrender has uploaded a new change for review.

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

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

Use Parser::SFH_OBJECT_ARGS class const

Instead of the global const

Change-Id: Ieabe30d72f300619748516485aa3f0a4bebb7437
---
M includes/ET_ParserFunctions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ExtTab 
refs/changes/07/174207/1

diff --git a/includes/ET_ParserFunctions.php b/includes/ET_ParserFunctions.php
index b7bd882..53cc8eb 100644
--- a/includes/ET_ParserFunctions.php
+++ b/includes/ET_ParserFunctions.php
@@ -5,7 +5,7 @@
 
 class ETParserFunctions {
        static function registerFunctions( &$parser ) {
-               $parser->setFunctionHook( 'tab', array( 'ETParserFunctions', 
'renderTabWidget' ), SFH_OBJECT_ARGS );
+               $parser->setFunctionHook( 'tab', array( 'ETParserFunctions', 
'renderTabWidget' ), Parser::SFH_OBJECT_ARGS );
                $parser->setHook( "embedwiki", array( 'ETParserFunctions', 
'embedWiki' ) );
 
                return true;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieabe30d72f300619748516485aa3f0a4bebb7437
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ExtTab
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