Skip to content
Snippets Groups Projects
Commit 252cc378 authored by David Maus's avatar David Maus
Browse files

Simplify lazy-loading new event manager

* VuFindSearch/Service.php (getEventManager): Simplify lazy-loading
new event manager.
parent 27261aa4
No related merge requests found
......@@ -262,7 +262,7 @@ class Service
public function getEventManager()
{
if (!$this->events) {
$this->events = new EventManager('VuFind\Search');
$this->setEventManager(new EventManager());
}
return $this->events;
}
......
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