jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Krinkle: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I199fff17ff574d19701c354ee29bbb8e307e5665
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits