1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 02:36:38 +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:
Marc Alexander
2023-08-19 13:38:02 +02:00
parent 549c818a5c
commit 66b54d4469
32 changed files with 110 additions and 59 deletions

View File

@@ -261,9 +261,9 @@ class migrator
*/
public function update()
{
$this->container->get('dispatcher')->disable();
$this->container->get('event_dispatcher')->disable();
$this->update_do();
$this->container->get('dispatcher')->enable();
$this->container->get('event_dispatcher')->enable();
}
/**
@@ -509,9 +509,9 @@ class migrator
*/
public function revert($migration)
{
$this->container->get('dispatcher')->disable();
$this->container->get('event_dispatcher')->disable();
$this->revert_do($migration);
$this->container->get('dispatcher')->enable();
$this->container->get('event_dispatcher')->enable();
}
/**