From 3a86d86bc2704d41530f1114180dd384541f91aa Mon Sep 17 00:00:00 2001 From: umherirrender Date: Tue, 18 Nov 2014 19:31:56 +0100 Subject: [PATCH] Use Parser::SFH_NO_HASH class const Instead of the global const Change-Id: Iea2b72ab5d7d18cf9c198af1a2a71b6670331d2f --- VoteHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VoteHooks.php b/VoteHooks.php index 3c47be1..c1de3e9 100644 --- a/VoteHooks.php +++ b/VoteHooks.php @@ -200,7 +200,7 @@ class VoteHooks { * @return bool */ static function setupNumberOfVotesPageParser( &$parser ) { - $parser->setFunctionHook( 'NUMBEROFVOTESPAGE', 'VoteHooks::getNumberOfVotesPageParser', SFH_NO_HASH ); + $parser->setFunctionHook( 'NUMBEROFVOTESPAGE', 'VoteHooks::getNumberOfVotesPageParser', Parser::SFH_NO_HASH ); return true; }