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:
Diffstat (limited to 'core/Plugin/Report.php')
-rw-r--r--core/Plugin/Report.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Plugin/Report.php b/core/Plugin/Report.php
index 71d655f6a7..f59e8a13c0 100644
--- a/core/Plugin/Report.php
+++ b/core/Plugin/Report.php
@@ -319,7 +319,7 @@ class Report
public function configureReportingMenu(MenuReporting $menu)
{
if ($this->menuTitle) {
- $action = 'menu' . ucfirst($this->action);
+ $action = $this->getMenuControllerAction();
$menu->add($this->category,
$this->menuTitle,
array('module' => $this->module, 'action' => $action),
@@ -662,4 +662,9 @@ class Report
return $metrics;
}
+
+ private function getMenuControllerAction()
+ {
+ return 'menu' . ucfirst($this->action);
+ }
}