Skip to content

Commit 41c1c1a

Browse files
committed
Removing the extra (misleading) draft about WG adoption which is sent out in addition to the state change emails when a call for addoption (WG) or adoption (RG) is done using the 'Adopt Draft in Group' form. The state change messages should be sufficient, and are not misleading. Fixes issue ietf-tools#1246 (and 1290).
- Legacy-Id: 7206
1 parent 35cadc1 commit 41c1c1a

3 files changed

Lines changed: 0 additions & 20 deletions

File tree

ietf/doc/mails.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -433,16 +433,6 @@ def stream_state_email_recipients(doc, extra_recipients=[]):
433433

434434
return res
435435

436-
def email_draft_adopted(request, doc, by, comment):
437-
recipients = stream_state_email_recipients(doc)
438-
send_mail(request, recipients, settings.DEFAULT_FROM_EMAIL,
439-
u"%s adopted in %s %s" % (doc.name, doc.group.acronym, doc.group.type.name),
440-
'doc/mail/draft_adopted_email.txt',
441-
dict(doc=doc,
442-
url=settings.IDTRACKER_BASE_URL + doc.get_absolute_url(),
443-
by=by,
444-
comment=comment))
445-
446436
def email_stream_state_changed(request, doc, prev_state, new_state, by, comment=""):
447437
recipients = stream_state_email_recipients(doc)
448438

ietf/doc/views_draft.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,8 +1335,6 @@ def adopt_draft(request, name):
13351335
e.desc = comment
13361336
e.save()
13371337

1338-
email_draft_adopted(request, doc, by, comment)
1339-
13401338
return HttpResponseRedirect(doc.get_absolute_url())
13411339
else:
13421340
form = AdoptDraftForm(user=request.user)

ietf/templates/doc/mail/draft_adopted_email.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)