mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 00:12:16 +02:00
removed the profile_feature_flag from send_status_update_emailmethod
This commit is contained in:
parent
2e3f4bdf0c
commit
32e3d2f9c6
1 changed files with 1 additions and 4 deletions
|
@ -741,9 +741,6 @@ class DomainRequest(TimeStampedModel):
|
|||
contact information. If there is not creator information, then do
|
||||
nothing.
|
||||
|
||||
If the waffle flag "profile_feature" is active, then this email will be sent to the
|
||||
domain request creator rather than the submitter
|
||||
|
||||
Optional args:
|
||||
bcc_address: str -> the address to bcc to
|
||||
|
||||
|
@ -758,7 +755,7 @@ class DomainRequest(TimeStampedModel):
|
|||
custom_email_content: str -> Renders an email with the content of this string as its body text.
|
||||
"""
|
||||
|
||||
recipient = self.creator if flag_is_active(None, "profile_feature") else self.submitter
|
||||
recipient = self.creator
|
||||
if recipient is None or recipient.email is None:
|
||||
logger.warning(
|
||||
f"Cannot send {new_status} email, no creator email address for domain request with pk: {self.pk}."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue