mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17176] Use Symfony name for event dispatcher
The previously used override of the names is no longer supported. PHPBB3-17176
This commit is contained in:
@@ -205,11 +205,11 @@ class container_builder
|
||||
// Mark all services public
|
||||
$this->container->addCompilerPass(new pass\markpublic_pass());
|
||||
|
||||
// Event listeners "phpBB style"
|
||||
$this->container->addCompilerPass(new RegisterListenersPass('dispatcher', 'event.listener_listener', 'event.listener'));
|
||||
// Convert old event dispatcher syntax
|
||||
$this->container->addCompilerPass(new pass\convert_events());
|
||||
|
||||
// Event listeners "Symfony style"
|
||||
$this->container->addCompilerPass(new RegisterListenersPass('dispatcher'));
|
||||
// Event listeners
|
||||
$this->container->addCompilerPass(new RegisterListenersPass());
|
||||
|
||||
if ($this->use_extensions)
|
||||
{
|
||||
|
Reference in New Issue
Block a user