Exemple #1
0
def remove_notifications(email_notification_ids=None):
    """Remove sent emails.

    :param email_notification_ids:
    :return:
    """
    for email_id in email_notification_ids:
        NotificationDigest.remove(Q('_id', 'eq', email_id))
Exemple #2
0
def remove_notifications(email_notification_ids=None):
    """Remove sent emails.

    :param email_notification_ids:
    :return:
    """
    for email_id in email_notification_ids:
        NotificationDigest.remove(Q('_id', 'eq', email_id))
Exemple #3
0
def remove_sent_digest_notifications(digest_notification_ids=None):
    for digest_id in digest_notification_ids:
        NotificationDigest.remove(Q('_id', 'eq', digest_id))
Exemple #4
0
def remove_sent_digest_notifications(digest_notification_ids=None):
    for digest_id in digest_notification_ids:
        NotificationDigest.remove(Q('_id', 'eq', digest_id))