mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
Replace deprecated Hooks::run
Bug: T335536 Change-Id: I94280162586373a9399b3ec1b16ab9963e2d7945
This commit is contained in:
parent
9a529c3652
commit
8c12e8b6dd
|
@ -24,7 +24,6 @@ use ChangesList;
|
|||
use ChangesListFilterGroup;
|
||||
use Config;
|
||||
use ExtensionRegistry;
|
||||
use Hooks as MWHooks;
|
||||
use Html;
|
||||
use MediaWiki\Hook\FetchChangesListHook;
|
||||
use MediaWiki\Hook\OutputPageBodyAttributesHook;
|
||||
|
@ -321,7 +320,7 @@ class Hooks implements
|
|||
),
|
||||
SkinOptions::TABS_ON_SPECIALS => true,
|
||||
] );
|
||||
MWHooks::run( 'SkinMinervaOptionsInit', [ $skin, $skinOptions ] );
|
||||
$services->getHookContainer()->run( 'SkinMinervaOptionsInit', [ $skin, $skinOptions ] );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue