dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ccb71
)
api.php: wfRunHooks() → Hooks::run()
author
Kunal Mehta
<legoktm@gmail.com>
Mon, 27 Apr 2015 22:43:49 +0000
(15:43 -0700)
committer
Kunal Mehta
<legoktm@gmail.com>
Mon, 27 Apr 2015 22:43:49 +0000
(15:43 -0700)
Change-Id: I199fff17ff574d19701c354ee29bbb8e307e5665
api.php
patch
|
blob
|
history
diff --git
a/api.php
b/api.php
index
ea2f60a
..
7775158
100644
(file)
--- 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' );
}