fix notification failure

This commit is contained in:
aynsix
2020-07-28 12:42:27 +03:00
parent 661a8efd7c
commit ad9eb28ecd
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ class ExportSubscriber extends AbstractNotificationSubscriber
$mailed = true; $mailed = true;
} }
$this->app['event-manager']->notify($params['usr_id'], 'eventsmanager_notify_downloadmailfail', $datas, $mailed); $this->app['events-manager']->notify($params['usr_id'], 'eventsmanager_notify_downloadmailfail', $datas, $mailed);
} }
public static function getSubscribedEvents() public static function getSubscribedEvents()

View File

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