diff --git a/core/Menu/MenuAdmin.php b/core/Menu/MenuAdmin.php index 48951171b26992a32fd242d5d06d9bebf2ae599c..f40327cbe84d437b298db87c17c55b6cd099dece 100644 --- a/core/Menu/MenuAdmin.php +++ b/core/Menu/MenuAdmin.php @@ -16,19 +16,6 @@ use Piwik\Piwik; * Plugins can implement the `configureAdminMenu()` method of the `Menu` plugin class to add, rename of remove * items. If your plugin does not have a `Menu` class yet you can create one using `./console generate:menu`. * - * **Example** - * - * public function configureAdminMenu(MenuAdmin $menu) - * { - * $menu->add( - * 'MyPlugin_MyTranslatedAdminMenuCategory', - * 'MyPlugin_MyTranslatedAdminPageName', - * array('module' => 'MyPlugin', 'action' => 'index'), - * Piwik::isUserHasSomeAdminAccess(), - * $order = 2 - * ); - * } - * * @method static \Piwik\Menu\MenuAdmin getInstance() */ class MenuAdmin extends MenuAbstract diff --git a/core/Menu/MenuTop.php b/core/Menu/MenuTop.php index bd97c1b84ad0def14f6e44054ea5b58c913b5fbe..8784604a09ecb33264e2a8d254a645b442cb66c1 100644 --- a/core/Menu/MenuTop.php +++ b/core/Menu/MenuTop.php @@ -15,19 +15,6 @@ use Piwik\Piwik; * Plugins can implement the `configureTopMenu()` method of the `Menu` plugin class to add, rename of remove * items. If your plugin does not have a `Menu` class yet you can create one using `./console generate:menu`. * - * **Example** - * - * public function configureTopMenu(MenuTop $menu) - * { - * $menu->add( - * 'MyPlugin_MyTranslatedMenuCategory', - * 'MyPlugin_MyTranslatedMenuName', - * array('module' => 'MyPlugin', 'action' => 'index'), - * Piwik::isUserHasSomeAdminAccess(), - * $order = 2 - * ); - * } - * * @method static \Piwik\Menu\MenuTop getInstance() */ class MenuTop extends MenuAbstract