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
path: root/core/Menu
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-05-20 07:44:07 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-05-20 07:44:07 +0400
commit45ae10e999baf0dfa066e5daae00bca824a68191 (patch)
treeb94f42ee5d66e4e1354be5389865af0b0dc507c9 /core/Menu
parentb2cb622bf1ea754a73ce06e165a083e3305aa807 (diff)
refs #5192 introducing a user menu
Diffstat (limited to 'core/Menu')
-rw-r--r--core/Menu/MenuAdmin.php5
-rwxr-xr-xcore/Menu/MenuUser.php2
2 files changed, 1 insertions, 6 deletions
diff --git a/core/Menu/MenuAdmin.php b/core/Menu/MenuAdmin.php
index 0b41bb33c5..899b417849 100644
--- a/core/Menu/MenuAdmin.php
+++ b/core/Menu/MenuAdmin.php
@@ -49,11 +49,6 @@ class MenuAdmin extends MenuAbstract
self::getInstance()->add('General_Settings', $adminMenuName, $url, $displayedForCurrentUser, $order);
}
- public function add($adminMenuName, $url, $displayedForCurrentUser = true, $order = 20)
- {
- parent::add('General_Settings', $adminMenuName, $url, $displayedForCurrentUser, $order);
- }
-
/**
* Triggers the Menu.MenuAdmin.addItems hook and returns the admin menu.
*
diff --git a/core/Menu/MenuUser.php b/core/Menu/MenuUser.php
index dd27fa4aef..f492916794 100755
--- a/core/Menu/MenuUser.php
+++ b/core/Menu/MenuUser.php
@@ -31,7 +31,7 @@ use Piwik\Piwik;
*
* @method static \Piwik\Menu\MenuUser getInstance()
*/
-class MenuUser extends MenuTop
+class MenuUser extends MenuAbstract
{
/**