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:
authormattab <matthieu.aubry@gmail.com>2014-03-10 04:58:51 +0400
committermattab <matthieu.aubry@gmail.com>2014-03-10 04:58:51 +0400
commit45d316ec3d81888d9d5b7bbf39424aa787f34ccf (patch)
tree9258751e7a7c82d87f6b0b615fbc06f412176c53 /core/Menu
parentcb31cbade446dd03e08f8e5525b8d3bed4d49ad5 (diff)
Fix bug in MenuAdmin::removeEntry
Diffstat (limited to 'core/Menu')
-rw-r--r--core/Menu/MenuAdmin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Menu/MenuAdmin.php b/core/Menu/MenuAdmin.php
index cae4597482..6aa27ca068 100644
--- a/core/Menu/MenuAdmin.php
+++ b/core/Menu/MenuAdmin.php
@@ -106,8 +106,8 @@ class MenuAdmin extends MenuAbstract
return false;
}
- public static function removeEntry($menuName)
+ public static function removeEntry($menuName, $subMenuName)
{
- MenuAdmin::getInstance()->remove('General_Settings', $menuName);
+ MenuAdmin::getInstance()->remove($menuName, $subMenuName);
}
}