Skip to content
Snippets Groups Projects
Commit 9980f879 authored by Brian Moe's avatar Brian Moe
Browse files

Short circuit email alerts for MDC events.

parent 8a9fc71a
No related branches found
No related tags found
No related merge requests found
...@@ -71,6 +71,10 @@ def issueAlertForLabel(event, label, doxmpp, serialized_event=None): ...@@ -71,6 +71,10 @@ def issueAlertForLabel(event, label, doxmpp, serialized_event=None):
def issueEmailAlert(event, event_url): def issueEmailAlert(event, event_url):
# XXX FIXME
if event.search.name == 'MDC':
return
# Gather Recipients # Gather Recipients
if event.group.name == 'Test': if event.group.name == 'Test':
fromaddress = settings.ALERT_TEST_EMAIL_FROM fromaddress = settings.ALERT_TEST_EMAIL_FROM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment