From 1c3d2adfd2b299503900b4a8baa1b1e4bb2d7519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org> Date: Thu, 26 Jan 2023 14:04:15 +0100 Subject: [PATCH] Pause admission email sending --- scipost_django/edadmin/views/incoming.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scipost_django/edadmin/views/incoming.py b/scipost_django/edadmin/views/incoming.py index 0ecdcd252..75adfce64 100644 --- a/scipost_django/edadmin/views/incoming.py +++ b/scipost_django/edadmin/views/incoming.py @@ -211,11 +211,11 @@ def _hx_submission_admission(request, identifier_w_vn_nr): status=Submission.PREASSIGNMENT ) # send authors admission passed email - mail_util = DirectMailUtil( - "authors/admission_passed", - submission=submission, - comments_for_authors=form.cleaned_data["comments_for_authors"], - ) + # mail_util = DirectMailUtil( + # "authors/admission_passed", + # submission=submission, + # comments_for_authors=form.cleaned_data["comments_for_authors"], + # ) else: # inadmissible, inform authors and set status to ADMISSION_FAILED Submission.objects.filter(pk=submission.id).update( status=Submission.ADMISSION_FAILED -- GitLab