mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
fix notification failure
This commit is contained in:
@@ -42,7 +42,7 @@ class ExportSubscriber extends AbstractNotificationSubscriber
|
||||
$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()
|
||||
|
@@ -117,7 +117,7 @@ class ExportMailWorker implements WorkerInterface
|
||||
));
|
||||
|
||||
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,
|
||||
$params['ssttid'],
|
||||
$params['lst'],
|
||||
|
Reference in New Issue
Block a user