wfRunHooks() -> Hooks::run()

Change-Id: Ib2c61f675bb7bbd44cec5b7a9ab68721865b4b09
This commit is contained in:
Chad Horohoe 2015-04-27 21:53:11 -07:00
parent 63e4d1f8c4
commit 7ad814d427
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ class SkinVector extends SkinTemplate {
parent::setupSkinUserCss( $out );
$styles = array( 'mediawiki.skinning.interface', 'skins.vector.styles' );
wfRunHooks( 'SkinVectorStyleModules', array( $this, &$styles ) );
Hooks::run( 'SkinVectorStyleModules', array( $this, &$styles ) );
$out->addModuleStyles( $styles );
}

View file

@ -341,7 +341,7 @@ class VectorTemplate extends BaseTemplate {
<?php
}
if ( $hook !== null ) {
wfRunHooks( $hook, array( &$this, true ) );
Hooks::run( $hook, array( &$this, true ) );
}
?>
</ul>