From dc97b7b1d3047bbd6d9d1e20cbb41537f653ba89 Mon Sep 17 00:00:00 2001 From: Bertrand GAUTHIER <bertrand.gauthier@unicaen.fr> Date: Wed, 23 Nov 2022 13:18:14 +0100 Subject: [PATCH] =?UTF-8?q?[FIX]=20Module.php=20:=20activation=20redondant?= =?UTF-8?q?e=20du=20ModuleRouteListener=20(=C3=A0=20faire=201=20fois=20uni?= =?UTF-8?q?quement=20dans=20le=20module=20Application)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Module.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Module.php b/Module.php index 1981653..371a374 100644 --- a/Module.php +++ b/Module.php @@ -13,12 +13,12 @@ use Laminas\Stdlib\Glob; class Module implements ConsoleBannerProviderInterface, ConsoleUsageProviderInterface { - public function onBootstrap(MvcEvent $e) - { - $eventManager = $e->getApplication()->getEventManager(); - $moduleRouteListener = new ModuleRouteListener(); - $moduleRouteListener->attach($eventManager); - } +// public function onBootstrap(MvcEvent $e) +// { +// $eventManager = $e->getApplication()->getEventManager(); +// $moduleRouteListener = new ModuleRouteListener(); +// $moduleRouteListener->attach($eventManager); +// } public function getConfig() { -- GitLab