diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-19 01:45:57 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-19 01:45:57 +0400 |
commit | e450ec5a097625bf15da91376e8f81a0977c5a5e (patch) | |
tree | 5dc7ac79e559064ffe526361a1ae56993935f46d /plugins/Referrers | |
parent | 9bf2d1ca455d4929ef015f7805f44cb70d2cb7bd (diff) |
automatically render a single report if possible. Not sure about this yet. handling all this menu stuff makes sense and it does not...
Diffstat (limited to 'plugins/Referrers')
-rw-r--r-- | plugins/Referrers/Controller.php | 7 | ||||
-rw-r--r-- | plugins/Referrers/Reports/GetCampaigns.php | 1 |
2 files changed, 1 insertions, 7 deletions
diff --git a/plugins/Referrers/Controller.php b/plugins/Referrers/Controller.php index 74e0124df1..c366af70b0 100644 --- a/plugins/Referrers/Controller.php +++ b/plugins/Referrers/Controller.php @@ -142,13 +142,6 @@ class Controller extends \Piwik\Plugin\Controller return $view->render(); } - public function indexCampaigns() - { - return View::singleReport( - Piwik::translate('Referrers_Campaigns'), - $this->renderReport('getCampaigns')); - } - protected function getReferrersVisitorsByType($date = false) { if ($date === false) { diff --git a/plugins/Referrers/Reports/GetCampaigns.php b/plugins/Referrers/Reports/GetCampaigns.php index b37b0eeb9c..f4410ad1a8 100644 --- a/plugins/Referrers/Reports/GetCampaigns.php +++ b/plugins/Referrers/Reports/GetCampaigns.php @@ -25,6 +25,7 @@ class GetCampaigns extends Base $this->hasGoalMetrics = true; $this->order = 9; $this->widgetTitle = 'Referrers_Campaigns'; + $this->menuTitle = 'Referrers_Campaigns'; } public function configureView(ViewDataTable $view) |