Replace deprecated Hooks::run

Bug: T335536
Change-Id: I94280162586373a9399b3ec1b16ab9963e2d7945
This commit is contained in:
Umherirrender 2023-05-06 22:53:47 +02:00
parent 9a529c3652
commit 8c12e8b6dd

View file

@ -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 ] );
}
}