diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-20 03:05:41 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-20 03:05:41 +0400 |
commit | b2cb622bf1ea754a73ce06e165a083e3305aa807 (patch) | |
tree | 43bf1134201759cf73b88d53274fa87fdffebd0d /plugins/Events/Events.php | |
parent | 009a6f21177e8cb6366577d8f54024e896bb0d8e (diff) |
refs #5192 continued menu refactoring. not sure yet how good this idea is but seems to be already better than before
Diffstat (limited to 'plugins/Events/Events.php')
-rw-r--r-- | plugins/Events/Events.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/Events/Events.php b/plugins/Events/Events.php index f5c87b5983..ee4132ddf3 100644 --- a/plugins/Events/Events.php +++ b/plugins/Events/Events.php @@ -28,7 +28,6 @@ class Events extends \Piwik\Plugin 'API.getSegmentDimensionMetadata' => 'getSegmentsMetadata', 'Metrics.getDefaultMetricTranslations' => 'addMetricTranslations', 'API.getReportMetadata' => 'getReportMetadata', - 'Menu.Reporting.addItems' => 'addMenus', 'WidgetsList.addWidgets' => 'addWidgets', 'ViewDataTable.configure' => 'configureViewDataTable', @@ -44,11 +43,6 @@ class Events extends \Piwik\Plugin } } - public function addMenus(MenuAbstract $menu) - { - $menu->add('General_Actions', 'Events_Events', array('module' => 'Events', 'action' => 'index'), true, 30); - } - public function addMetricTranslations(&$translations) { $translations = array_merge($translations, $this->getMetricTranslations()); |