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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user