From ce5bdabccd0bba1b301637b8f9fad59d0b1b4f7a Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 28 Oct 2013 13:39:25 -0400
Subject: [PATCH] More simplification of module code.

---
 module/VuDL/Module.php          |  2 --
 module/VuFind/Module.php        |  3 +--
 module/VuFindConsole/Module.php | 24 ------------------------
 3 files changed, 1 insertion(+), 28 deletions(-)

diff --git a/module/VuDL/Module.php b/module/VuDL/Module.php
index 6cb8dbad4b2..d6d52738d2c 100644
--- a/module/VuDL/Module.php
+++ b/module/VuDL/Module.php
@@ -26,8 +26,6 @@
  * @link     https://github.com/dmj/vf2-proxy
  */
 namespace VuDL;
-use Zend\ModuleManager\ModuleManager,
-    Zend\Mvc\MvcEvent;
 
 /**
  * VuDL interface module.
diff --git a/module/VuFind/Module.php b/module/VuFind/Module.php
index aeaab18c0b6..a3353bc3584 100644
--- a/module/VuFind/Module.php
+++ b/module/VuFind/Module.php
@@ -26,8 +26,7 @@
  * @link     http://vufind.org
  */
 namespace VuFind;
-use Zend\ModuleManager\ModuleManager,
-    Zend\Mvc\MvcEvent;
+use Zend\Mvc\MvcEvent;
 
 /**
  * ZF2 module definition for the VuFind application
diff --git a/module/VuFindConsole/Module.php b/module/VuFindConsole/Module.php
index 792a04ada4b..586a8721451 100644
--- a/module/VuFindConsole/Module.php
+++ b/module/VuFindConsole/Module.php
@@ -26,8 +26,6 @@
  * @link     https://github.com/dmj/vf2-proxy
  */
 namespace VuFindConsole;
-use VuFindConsole\Mvc\Router\ConsoleRouter,
-    Zend\ModuleManager\ModuleManager, Zend\Mvc\MvcEvent;
 
 /**
  * ZF2 module definition for the VuFind console module
@@ -65,26 +63,4 @@ class Module
             ),
         );
     }
-
-    /**
-     * Initialize the module
-     *
-     * @param ModuleManager $m Module manager
-     *
-     * @return void
-     */
-    public function init(ModuleManager $m)
-    {
-    }
-
-    /**
-     * Bootstrap the module
-     *
-     * @param MvcEvent $e Event
-     *
-     * @return void
-     */
-    public function onBootstrap(MvcEvent $e)
-    {
-    }
 }
-- 
GitLab