Use Parser::SFH_NO_HASH class const

Instead of the global const

Change-Id: Iea2b72ab5d7d18cf9c198af1a2a71b6670331d2f
This commit is contained in:
umherirrender 2014-11-18 19:31:56 +01:00
parent c3075062e9
commit 3a86d86bc2

View file

@ -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;
}