Stop emailing Notify when an MOU is signed

We've decided we don't get any value from these emails any more, so this
stops us (Notify support) receiving them. We still let teams know an MOU
has been signed.
This commit is contained in:
Katie Smith
2021-02-16 13:23:05 +00:00
parent 933bad857a
commit c59e0091ee
4 changed files with 0 additions and 11 deletions

View File

@@ -208,13 +208,6 @@ def send_notifications_on_mou_signed(organisation_id):
'on_behalf_of_name': organisation.agreement_signed_on_behalf_of_name
}
# let notify team know something's happened
_send_notification(
current_app.config['MOU_NOTIFY_TEAM_ALERT_TEMPLATE_ID'],
'notify-support+{}@digital.cabinet-office.gov.uk'.format(current_app.config['NOTIFY_ENVIRONMENT']),
personalisation
)
if not organisation.agreement_signed_on_behalf_of_email_address:
signer_template_id = 'MOU_SIGNER_RECEIPT_TEMPLATE_ID'
else: