Skip to content

Delete item from queue on deleting entry #28

@ctigelaar

Description

@ctigelaar

I'm using this plugin to schedule e-mails for an entry once it's created. I want to delete the queued e-mail when I delete that certain entry, because the e-mail is not needed anymore.

There's no entry_id column in the table postmasterqueue the make the selection of only rows with that entry_id. There's only a model with an entry object, but that would force me to select every row, dive in that object and match it against the deleted entry_id. Not very performant once there are hundreds of queued messages.

Can you implement this feature or point me in the right direction implementing it? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions