Skip to content

Commit

Permalink
fix: remove unwanted link
Browse files Browse the repository at this point in the history
  • Loading branch information
gcastroacn committed Jan 17, 2024
1 parent c146a48 commit 416d73f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 416d73f

Please sign in to comment.