dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace wfRunHooks calls with direct Hooks::run calls
[lhc/web/wiklou.git]
/
includes
/
Setup.php
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
f61de7e
..
535b13d
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-584,7
+584,7
@@
wfDebugLog( 'caches', 'main: ' . get_class( $wgMemc ) .
wfProfileOut( $fname . '-memcached' );
// Most of the config is out, some might want to run hooks here.
wfProfileOut( $fname . '-memcached' );
// Most of the config is out, some might want to run hooks here.
-
wfRunHooks
( 'SetupAfterCache' );
+
Hooks::run
( 'SetupAfterCache' );
wfProfileIn( $fname . '-session' );
wfProfileIn( $fname . '-session' );
@@
-634,7
+634,7
@@
$wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array( $wgParser
if ( !is_object( $wgAuth ) ) {
$wgAuth = new AuthPlugin;
if ( !is_object( $wgAuth ) ) {
$wgAuth = new AuthPlugin;
-
wfRunHooks
( 'AuthPluginSetup', array( &$wgAuth ) );
+
Hooks::run
( 'AuthPluginSetup', array( &$wgAuth ) );
}
/**
}
/**