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/Menu/MenuReporting.php')
-rw-r--r--core/Menu/MenuReporting.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Menu/MenuReporting.php b/core/Menu/MenuReporting.php
index 28fddd8313..ac35151bcb 100644
--- a/core/Menu/MenuReporting.php
+++ b/core/Menu/MenuReporting.php
@@ -45,7 +45,7 @@ class MenuReporting extends MenuAbstract
*/
public function addVisitorsItem($menuName, $url, $order = 50, $tooltip = false)
{
- $this->add('General_Visitors', $menuName, $url, true, $order, $tooltip);
+ $this->addItem('General_Visitors', $menuName, $url, $order, $tooltip);
}
/**
@@ -59,7 +59,7 @@ class MenuReporting extends MenuAbstract
*/
public function addActionsItem($menuName, $url, $order = 50, $tooltip = false)
{
- $this->add('General_Actions', $menuName, $url, true, $order, $tooltip);
+ $this->addItem('General_Actions', $menuName, $url, $order, $tooltip);
}
/**
@@ -88,7 +88,7 @@ class MenuReporting extends MenuAbstract
*/
public function addReferrersItem($menuName, $url, $order = 50, $tooltip = false)
{
- $this->add('Referrers_Referrers', $menuName, $url, true, $order, $tooltip);
+ $this->addItem('Referrers_Referrers', $menuName, $url, $order, $tooltip);
}
/**