mirror of
https://github.com/pretix/pretix.git
synced 2026-05-21 17:54:08 +00:00
Update src/pretix/base/models/mail.py
Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
@@ -29,7 +29,6 @@ from django_scopes import scope, scopes_disabled
|
|||||||
|
|
||||||
def CASCADE_IF_QUEUED(collector, field, sub_objs, using):
|
def CASCADE_IF_QUEUED(collector, field, sub_objs, using):
|
||||||
# If the email is still queued and the thing it is related to vanishes, the email can vanish as well
|
# If the email is still queued and the thing it is related to vanishes, the email can vanish as well
|
||||||
print(sub_objs)
|
|
||||||
cascade_objs = [
|
cascade_objs = [
|
||||||
o for o in sub_objs if o.status == OutgoingMail.STATUS_QUEUED
|
o for o in sub_objs if o.status == OutgoingMail.STATUS_QUEUED
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user