mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
Remove extraneous $isRegistered variable and VectorServices::getFeatureManager call
Some follow-up cleanup from 867701 Change-Id: I93d50c15b572b78a4861a8e4347d706fd2e4c04d
This commit is contained in:
parent
9463861054
commit
c152db2cbe
|
@ -200,7 +200,6 @@ class SkinVector22 extends SkinVector {
|
|||
}
|
||||
}
|
||||
|
||||
$isRegistered = $this->getUser()->isRegistered();
|
||||
$mainMenu = new VectorComponentMainMenu(
|
||||
$sidebar,
|
||||
$this->shouldLanguageAlertBeInSidebar(),
|
||||
|
@ -220,7 +219,7 @@ class SkinVector22 extends SkinVector {
|
|||
array_merge( [ $parentData['data-portlets']['data-actions'] ?? [] ], $pageToolsMenus ),
|
||||
$this->getContext(),
|
||||
$this->getUser(),
|
||||
VectorServices::getFeatureManager()
|
||||
$featureManager
|
||||
);
|
||||
$pageToolsDropdown = new VectorComponentDropdown(
|
||||
$pageTools::ID . '-dropdown',
|
||||
|
|
Loading…
Reference in a new issue