mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
wfRunHooks() -> Hooks::run()
Change-Id: Ib2c61f675bb7bbd44cec5b7a9ab68721865b4b09
This commit is contained in:
parent
63e4d1f8c4
commit
7ad814d427
|
@ -67,7 +67,7 @@ class SkinVector extends SkinTemplate {
|
||||||
parent::setupSkinUserCss( $out );
|
parent::setupSkinUserCss( $out );
|
||||||
|
|
||||||
$styles = array( 'mediawiki.skinning.interface', 'skins.vector.styles' );
|
$styles = array( 'mediawiki.skinning.interface', 'skins.vector.styles' );
|
||||||
wfRunHooks( 'SkinVectorStyleModules', array( $this, &$styles ) );
|
Hooks::run( 'SkinVectorStyleModules', array( $this, &$styles ) );
|
||||||
$out->addModuleStyles( $styles );
|
$out->addModuleStyles( $styles );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -341,7 +341,7 @@ class VectorTemplate extends BaseTemplate {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ( $hook !== null ) {
|
if ( $hook !== null ) {
|
||||||
wfRunHooks( $hook, array( &$this, true ) );
|
Hooks::run( $hook, array( &$this, true ) );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue