diff --git a/mail/apps.py b/mail/apps.py index 72991fbe..f2cd26ba 100644 --- a/mail/apps.py +++ b/mail/apps.py @@ -18,15 +18,11 @@ def initialize_background_tasks(cls, **kwargs): manage_inbox, schedule_licence_usage_figures_for_lite_api, ) - from mail.celery_tasks import send_licence_details_to_hmrc Task.objects.filter(queue=MANAGE_INBOX_TASK_QUEUE).delete() Task.objects.filter(queue=LICENCE_DATA_TASK_QUEUE).delete() if settings.BACKGROUND_TASK_ENABLED: - # Tasks common to ICMS and LITE/SPIRE - send_licence_details_to_hmrc.delay() # noqa - # LITE/SPIRE Tasks if settings.CHIEF_SOURCE_SYSTEM == ChiefSystemEnum.SPIRE: manage_inbox(repeat=settings.INBOX_POLL_INTERVAL, repeat_until=None) # noqa