Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-06-19 01:45:57 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-06-19 01:45:57 +0400
commite450ec5a097625bf15da91376e8f81a0977c5a5e (patch)
tree5dc7ac79e559064ffe526361a1ae56993935f46d /plugins/Referrers
parent9bf2d1ca455d4929ef015f7805f44cb70d2cb7bd (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.php7
-rw-r--r--plugins/Referrers/Reports/GetCampaigns.php1
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)