From 416d73f87ecd6da0d9fb312fbe9dc2b3f3f05fb7 Mon Sep 17 00:00:00 2001 From: Gianfranco Castro Date: Wed, 17 Jan 2024 17:38:35 +0100 Subject: [PATCH] fix: remove unwanted link --- Menu.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Menu.php b/Menu.php index 581dc7c..9e3960c 100644 --- a/Menu.php +++ b/Menu.php @@ -38,6 +38,7 @@ public function configureAdminMenu(MenuAdmin $menuAdmin) // Intercept menu configuration to remove unwanted items if (!Piwik::hasUserSuperUserAccess()) { $menuAdmin->remove('UsersManager_MenuPersonal', 'General_Settings'); + $menuAdmin->remove('UsersManager_MenuPersonal', 'General_Security'); $menuAdmin->remove('CorePluginsAdmin_MenuPlatform'); $menuAdmin->remove('CoreAdminHome_MenuMeasurables', 'CoreAdminHome_TrackingCode'); }