mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
fix notification failure
This commit is contained in:
@@ -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()
|
||||||
|
@@ -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'],
|
||||||
|
Reference in New Issue
Block a user