Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete item from queue on deleting entry #28

Open
ctigelaar opened this issue Mar 23, 2016 · 0 comments
Open

Delete item from queue on deleting entry #28

ctigelaar opened this issue Mar 23, 2016 · 0 comments

Comments

@ctigelaar
Copy link

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.

@ctigelaar ctigelaar changed the title Delete item from queue onDelete Delete item from queue on deleting entry Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant