Merge branch 'production' of github.com:Gluejar/regluit into production

pull/1/head
Raymond Yee 2012-05-11 15:05:18 -07:00
commit 1b16603056
1 changed files with 1 additions and 5 deletions

View File

@ -37,7 +37,7 @@ from django.shortcuts import render, render_to_response, get_object_or_404
from django.utils.http import urlencode
from django.utils.translation import ugettext_lazy as _
from regluit.core import tasks
from regluit.core.tasks import send_mail_task, emit_notifications
from regluit.core.tasks import send_mail_task
from regluit.core import models, bookloader, librarything
from regluit.core import userlists
from regluit.core.search import gluejar_search
@ -817,10 +817,6 @@ class PledgeCompleteView(TemplateView):
context["works"] = works
context["works2"] = works2
# generate notices with same context used for user page
notification.queue([transaction.user], "pledge_you_have_pledged", context, True)
emit_notifications.delay()
return context