Skip to content

Commit

Permalink
Fix email logging with user associated
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed May 28, 2015
1 parent a53e362 commit 1174ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indico/core/notifications.py
Expand Up @@ -37,6 +37,7 @@ def wrapper(*args, **kwargs):
return wrapper


@unify_user_args(legacy=True)
def send_email(email, event=None, module='', user=None, skip_queue=False):
"""Sends an email created by :func:`make_email`.
Expand All @@ -55,7 +56,6 @@ def send_email(email, event=None, module='', user=None, skip_queue=False):
GenericMailer.send(email, skipQueue=skip_queue)


@unify_user_args(legacy=True)
def make_email(to_list=None, cc_list=None, bcc_list=None, from_address=None, reply_address=None, attachments=None,
subject=None, body=None, template=None, html=False):
"""Creates an email.
Expand Down

0 comments on commit 1174ef5

Please sign in to comment.