mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-17 18:09:25 +02:00
Cleanup + send email logic
This commit is contained in:
parent
9b23262d61
commit
1ce0724d34
4 changed files with 13 additions and 81 deletions
|
@ -1065,12 +1065,6 @@ class DomainRequest(TimeStampedModel):
|
|||
if self.status == self.DomainRequestStatus.APPROVED:
|
||||
self.delete_and_clean_up_domain("reject")
|
||||
|
||||
self._send_status_update_email(
|
||||
"action needed",
|
||||
"emails/status_change_rejected.txt",
|
||||
"emails/status_change_rejected_subject.txt",
|
||||
)
|
||||
|
||||
# Send out an email if a rejection reason exists
|
||||
if self.rejection_reason:
|
||||
email_content = self.rejection_reason_email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue