From 98a88ca1712ee2a4b60ca9e422ed815fa6d8c2d1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 10 Dec 2019 10:58:55 +0000 Subject: [PATCH] accounts: Remove left-over newsletter subscription invite Signed-off-by: Michael Tremer --- src/backend/accounts.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/backend/accounts.py b/src/backend/accounts.py index a32c15f5..d4241c10 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -402,10 +402,6 @@ class Accounts(Object): if account.country_code and not account.country_code in countries.EU_COUNTRIES: account.consents_to_promotional_emails = True - # Invite newly registered users to newsletter - self.backend.messages.send_template( - "newsletter/subscribe", address="%s <%s>" % (account, account.email)) - # Send email about account registration self.backend.messages.send_template("people/messages/new-account", recipients=["moderators@ipfire.org"], account=account) -- 2.47.3