Skip to content
Snippets Groups Projects
Commit ce5bdabc authored by Demian Katz's avatar Demian Katz
Browse files

More simplification of module code.

parent ca79aa0d
No related merge requests found
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
* @link https://github.com/dmj/vf2-proxy * @link https://github.com/dmj/vf2-proxy
*/ */
namespace VuDL; namespace VuDL;
use Zend\ModuleManager\ModuleManager,
Zend\Mvc\MvcEvent;
/** /**
* VuDL interface module. * VuDL interface module.
......
...@@ -26,8 +26,7 @@ ...@@ -26,8 +26,7 @@
* @link http://vufind.org * @link http://vufind.org
*/ */
namespace VuFind; namespace VuFind;
use Zend\ModuleManager\ModuleManager, use Zend\Mvc\MvcEvent;
Zend\Mvc\MvcEvent;
/** /**
* ZF2 module definition for the VuFind application * ZF2 module definition for the VuFind application
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
* @link https://github.com/dmj/vf2-proxy * @link https://github.com/dmj/vf2-proxy
*/ */
namespace VuFindConsole; namespace VuFindConsole;
use VuFindConsole\Mvc\Router\ConsoleRouter,
Zend\ModuleManager\ModuleManager, Zend\Mvc\MvcEvent;
/** /**
* ZF2 module definition for the VuFind console module * ZF2 module definition for the VuFind console module
...@@ -65,26 +63,4 @@ class 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)
{
}
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment