Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #36 from pinda/master
Browse files Browse the repository at this point in the history
Remove duplicate method `send_mail`
  • Loading branch information
dstegelman committed Aug 21, 2013
2 parents 0451e2c + cb754dc commit 7189ed9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mailqueue/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
@task(name="tasks.send_mail")
def send_mail(pk):
message = MailerMessage.objects.get(pk=pk)
message.send_mail()

#Cached Services
@task()
def send_mail(mailer):
mailer.send()
message._send()

@task()
def clear_sent_messages():
Expand Down

0 comments on commit 7189ed9

Please sign in to comment.