From 1ed97ed3410a2bea86226af2a6accc5ead0eb5b9 Mon Sep 17 00:00:00 2001
From: Bertrand GAUTHIER <bertrand.gauthier@unicaen.fr>
Date: Wed, 23 Nov 2022 13:18:10 +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 7f88648..3623c26 100644
--- a/Module.php
+++ b/Module.php
@@ -12,12 +12,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