Skip to content

Commit

Permalink
Merge pull request #31 from biozshock/delete-templates
Browse files Browse the repository at this point in the history
Removed call to Deutschepost API for mail removal.
  • Loading branch information
ekkeguembel authored Jun 29, 2022
2 parents fda5460 + 852820b commit 46ac392
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 46ac392

Please sign in to comment.