diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-22 11:24:15 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-22 11:24:15 +0400 |
commit | 3964ebc71576e917fe24a81c7a3662576ed76ca7 (patch) | |
tree | d3ec1521b6869dac51c8350d8768a0b2507d33d1 /plugins/VisitTime | |
parent | 467417d7930097c8e03634b1b47e1f913184a777 (diff) |
refs #5192 some more menu api tweaks. MenuReporting is not 100% good since it is in core and should not know whether are actions, referrers and visitors item but it is very convenient for developers. Once we have DI we could add those methods there
Diffstat (limited to 'plugins/VisitTime')
-rw-r--r-- | plugins/VisitTime/Menu.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VisitTime/Menu.php b/plugins/VisitTime/Menu.php index ab3dce5b55..db221a4eda 100644 --- a/plugins/VisitTime/Menu.php +++ b/plugins/VisitTime/Menu.php @@ -14,7 +14,7 @@ class Menu extends \Piwik\Plugin\Menu { public function configureReportingMenu(MenuReporting $menu) { - $menu->add('General_Visitors', 'VisitTime_SubmenuTimes', - array('module' => 'VisitTime', 'action' => 'index'), true, $order = 65); + $menu->addVisitorsItem('VisitTime_SubmenuTimes', + array('module' => 'VisitTime', 'action' => 'index'), $order = 65); } } |