From: Michael Tremer Date: Tue, 10 Dec 2019 10:58:55 +0000 (+0000) Subject: accounts: Remove left-over newsletter subscription invite X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98a88ca1712ee2a4b60ca9e422ed815fa6d8c2d1;p=ipfire.org.git accounts: Remove left-over newsletter subscription invite Signed-off-by: Michael Tremer --- 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)