Revert "wired pledge_you_have_pledged [#27785469]"

This reverts commit 17d641cf65.
pull/1/head
Raymond Yee 2012-05-11 14:00:17 -07:00
parent 7d4ec00382
commit 7c49427e2c
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.http import urlencode
from django.utils.translation import ugettext_lazy as _ from django.utils.translation import ugettext_lazy as _
from regluit.core import tasks 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 models, bookloader, librarything
from regluit.core import userlists from regluit.core import userlists
from regluit.core.search import gluejar_search from regluit.core.search import gluejar_search
@ -816,10 +816,6 @@ class PledgeCompleteView(TemplateView):
context["works"] = works context["works"] = works
context["works2"] = works2 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 return context