diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-10 04:58:51 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-10 04:58:51 +0400 |
commit | 45d316ec3d81888d9d5b7bbf39424aa787f34ccf (patch) | |
tree | 9258751e7a7c82d87f6b0b615fbc06f412176c53 /core/Menu | |
parent | cb31cbade446dd03e08f8e5525b8d3bed4d49ad5 (diff) |
Fix bug in MenuAdmin::removeEntry
Diffstat (limited to 'core/Menu')
-rw-r--r-- | core/Menu/MenuAdmin.php | 4 |
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); } } |