skip and remove notification on exception
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
1e4567b9cc
Коммит
13af0d85ae
|
@ -118,9 +118,8 @@ class Notifier implements INotifier {
|
|||
$pollTitle = $poll->getTitle();
|
||||
$notification->setLink($poll->getVoteUrl());
|
||||
} catch (DoesNotExistException $e) {
|
||||
$poll = null;
|
||||
$pollTitle = $parameters['pollTitle'];
|
||||
$actor = $this->getActor($parameters['actor']);
|
||||
$this->notificationService->removeNotification($notification->getObjectId());
|
||||
return $notification;
|
||||
}
|
||||
|
||||
if (isset($actor['actor'])) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче