diff --git a/includes/SkinVector22.php b/includes/SkinVector22.php index 6a76eb1d0..22dbfb131 100644 --- a/includes/SkinVector22.php +++ b/includes/SkinVector22.php @@ -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',