Legoktm has uploaded a new change for review.

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

Change subject: api.php: wfRunHooks() → Hooks::run()
......................................................................

api.php: wfRunHooks() → Hooks::run()

Change-Id: I199fff17ff574d19701c354ee29bbb8e307e5665
---
M api.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/88/206988/1

diff --git a/api.php b/api.php
index ea2f60a..7775158 100644
--- a/api.php
+++ b/api.php
@@ -75,7 +75,7 @@
        $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' );
        }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I199fff17ff574d19701c354ee29bbb8e307e5665
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to