From 0200d3ab11179d88c0eb0d14d706c9614eb4b045 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Wed, 15 Jun 2016 15:28:53 +0100 Subject: [PATCH] Remove the extra task created to handle the change to the send_email signature --- app/celery/tasks.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/celery/tasks.py b/app/celery/tasks.py index 6b92d40c2..a94da9f44 100644 --- a/app/celery/tasks.py +++ b/app/celery/tasks.py @@ -288,12 +288,6 @@ def send_sms(service_id, notification_id, encrypted_notification, created_at): @notify_celery.task(name="send-email") -def send_email_v1(service_id, notification_id, from_address, - encrypted_notification, created_at, reply_to_addresses=None): - send_email(service_id, notification_id, encrypted_notification, created_at, reply_to_addresses=None) - - -@notify_celery.task(name="send-email-v2") def send_email(service_id, notification_id, encrypted_notification, created_at, reply_to_addresses=None): task_start = monotonic() notification = encryption.decrypt(encrypted_notification)