Skip to content

Commit

Permalink
Removed call to Deutschepost API for mail removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
biozshock committed Jun 29, 2022
1 parent fda5460 commit 852820b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions EventListener/CampaignSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,7 @@ public function onTriggerCampaignPostSave(TriggerCampaignEvent $event): void

public function onTriggerCampaignPreDelete(TriggerCampaignEvent $event): void
{
$this->getTriggerDialogService()->updateCampaignStage(
$event->getTriggerCampaign(),
TriggerdialogService::STATE_DELETED
);
// here you can the API call if there is a possibility to remove/hide mailing within Deutschepost API.
}

public function onCampaignTriggerAction(CampaignExecutionEvent $event)
Expand Down

0 comments on commit 852820b

Please sign in to comment.