jenkins-bot has submitted this change and it was merged.

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


Use Parser::SFH_OBJECT_ARGS class const

Instead of the global const

Change-Id: I42dbb1e8943b65f3dd5e61773d1352c05333d0cc
---
M LoopFunctions.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/LoopFunctions.php b/LoopFunctions.php
index 1105604..e658ab3 100644
--- a/LoopFunctions.php
+++ b/LoopFunctions.php
@@ -39,8 +39,8 @@
                global $wgParser, $wgExtLoopFunctions ;
 
                $wgExtLoopFunctions = new ExtLoopFunctions();
-               $wgParser->setFunctionHook( 'for', array(&$wgExtLoopFunctions, 
'forHook'), SFH_OBJECT_ARGS) ;
-               $wgParser->setFunctionHook('foreach', array(__CLASS__, 
'foreachHook'), SFH_OBJECT_ARGS) ;
+               $wgParser->setFunctionHook( 'for', array(&$wgExtLoopFunctions, 
'forHook'), Parser::SFH_OBJECT_ARGS) ;
+               $wgParser->setFunctionHook('foreach', array(__CLASS__, 
'foreachHook'), Parser::SFH_OBJECT_ARGS) ;
 
                return true ;
        }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I42dbb1e8943b65f3dd5e61773d1352c05333d0cc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LoopFunctions
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to