Skip to content
Snippets Groups Projects
Commit 87dc7497 authored by André Lahmann's avatar André Lahmann
Browse files

refs #22747 [finc]

* adapt Module.php to VuFind 7.1.1
parent cf5f2a8d
No related merge requests found
<?php <?php
/** /**
* Template for ZF2 module for storing local overrides. * Code module for the core of the VuFind application
* *
* PHP version 5 * PHP version 7
* *
* Copyright (C) Leipzig University Library 2014. * Copyright (C) Leipzig University Library 2014.
* *
...@@ -23,21 +23,20 @@ ...@@ -23,21 +23,20 @@
* @package Module * @package Module
* @author André Lahmann <lahmann@ub.uni-leipzig.de> * @author André Lahmann <lahmann@ub.uni-leipzig.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://github.com/dmj/vf2-proxy * @link https://vufind.org
*/ */
namespace finc; namespace finc;
use Zend\ModuleManager\ModuleManager; use Laminas\Mvc\MvcEvent;
use Zend\Mvc\MvcEvent;
/** /**
* Template for ZF2 module for storing local overrides. * Code module for the core of the VuFind application
* *
* @category VuFind * @category VuFind
* @package Module * @package Module
* @author André Lahmann <lahmann@ub.uni-leipzig.de> * @author André Lahmann <lahmann@ub.uni-leipzig.de>
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License
* @link https://github.com/dmj/vf2-proxy * @link https://vufind.org
*/ */
class Module class Module
{ {
...@@ -59,7 +58,7 @@ class Module ...@@ -59,7 +58,7 @@ class Module
public function getAutoloaderConfig() public function getAutoloaderConfig()
{ {
return [ return [
'Zend\Loader\StandardAutoloader' => [ 'Laminas\Loader\StandardAutoloader' => [
'namespaces' => [ 'namespaces' => [
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__, __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
], ],
...@@ -67,18 +66,6 @@ class Module ...@@ -67,18 +66,6 @@ class Module
]; ];
} }
/**
* Initialize the module
*
* @param ModuleManager $m Module manager
*
* @return void
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function init(ModuleManager $m)
{
}
/** /**
* Bootstrap the module * Bootstrap the module
* *
......
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