From e6c32f83a36fb7bf821a7d9faaa2dfa1ac2ab23b Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 27 Apr 2015 15:43:49 -0700 Subject: [PATCH] =?utf8?q?api.php:=20wfRunHooks()=20=E2=86=92=20Hooks::run?= =?utf8?q?()?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I199fff17ff574d19701c354ee29bbb8e307e5665 --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index ea2f60aef2..7775158ba2 100644 --- a/api.php +++ b/api.php @@ -75,7 +75,7 @@ try { $processor = new ApiMain( RequestContext::getMain(), $wgEnableWriteAPI ); // Last chance hook before executing the API - wfRunHooks( 'ApiBeforeMain', array( &$processor ) ); + Hooks::run( 'ApiBeforeMain', array( &$processor ) ); if ( !$processor instanceof ApiMain ) { throw new MWException( 'ApiBeforeMain hook set $processor to a non-ApiMain class' ); } -- 2.20.1