Remove extraneous $isRegistered variable and VectorServices::getFeatureManager call

Some follow-up cleanup from 867701

Change-Id: I93d50c15b572b78a4861a8e4347d706fd2e4c04d
This commit is contained in:
Nicholas Ray 2022-12-15 15:56:53 -07:00
parent 9463861054
commit c152db2cbe

View file

@ -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',