fix dispatched event

This commit is contained in:
aynsix
2020-07-28 12:24:15 +03:00
parent acb7860023
commit 25d43eff3f

View File

@@ -117,7 +117,7 @@ class ExportMailWorker implements WorkerInterface
)); ));
foreach ($remaingEmails as $mail) { foreach ($remaingEmails as $mail) {
$this->app['dispatcher']->dispatch(PhraseaEvents::EXPORT_MAIL_FAILURE, new ExportFailureEvent( $this->app['dispatcher']->dispatch(WorkerEvents::EXPORT_MAIL_FAILURE, new ExportFailureEvent(
$user, $user,
$params['ssttid'], $params['ssttid'],
$params['lst'], $params['lst'],