diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-09 13:45:41 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-09 13:45:41 +0400 |
commit | 500373c8f5bb32fa8c3488c551f357570c80e78d (patch) | |
tree | 12d4ea151445a1849e9ed4a06583a4fa956d3da5 /plugins/VisitorInterest/VisitorInterest.php | |
parent | 88a1d58d355430416f352c22ca3e4a6d56032bcc (diff) |
Refs #4202 Menu refactor GO. This one is tricky...
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r-- | plugins/VisitorInterest/VisitorInterest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index a6a9b41509..4225f5cfc3 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -13,6 +13,7 @@ namespace Piwik\Plugins\VisitorInterest; use Piwik\ArchiveProcessor; use Piwik\FrontController; +use Piwik\Menu\MenuMain; use Piwik\Metrics; use Piwik\Piwik; use Piwik\WidgetsList; @@ -110,7 +111,7 @@ class VisitorInterest extends \Piwik\Plugin public function addMenu() { - Piwik_RenameMenuEntry('General_Visitors', 'VisitFrequency_SubmenuFrequency', + MenuMain::getInstance()->rename('General_Visitors', 'VisitFrequency_SubmenuFrequency', 'General_Visitors', 'VisitorInterest_Engagement'); } |