From 25d43eff3f03b01b3f6109fdd741f9c25e05ec2a Mon Sep 17 00:00:00 2001 From: aynsix Date: Tue, 28 Jul 2020 12:24:15 +0300 Subject: [PATCH] fix dispatched event --- lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php b/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php index b25190a8cf..a0fd854c70 100644 --- a/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php +++ b/lib/Alchemy/Phrasea/WorkerManager/Worker/ExportMailWorker.php @@ -117,7 +117,7 @@ class ExportMailWorker implements WorkerInterface )); 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, $params['ssttid'], $params['lst'],