diff options
| -rw-r--r-- | port_me/checkdbs.py | 2 | ||||
| -rw-r--r-- | src/mailman/app/moderator.py | 2 | ||||
| -rw-r--r-- | src/mailman/app/subscriptions.py | 4 | ||||
| -rw-r--r-- | src/mailman/chains/hold.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/port_me/checkdbs.py b/port_me/checkdbs.py index 7f46e97d4..912ae7d71 100644 --- a/port_me/checkdbs.py +++ b/port_me/checkdbs.py @@ -199,7 +199,7 @@ def main(): mlist.GetBouncesEmail(), subject, text, mlist.preferred_language) - msg.send(mlist, to_moderators=True) + msg.send(mlist) finally: mlist.Unlock() diff --git a/src/mailman/app/moderator.py b/src/mailman/app/moderator.py index fe7a81383..deb54e9b5 100644 --- a/src/mailman/app/moderator.py +++ b/src/mailman/app/moderator.py @@ -204,7 +204,7 @@ def hold_unsubscription(mlist, email): msg = UserNotification( mlist.owner_address, mlist.owner_address, subject, text, mlist.preferred_language) - msg.send(mlist, to_moderators=True) + msg.send(mlist) return request_id diff --git a/src/mailman/app/subscriptions.py b/src/mailman/app/subscriptions.py index a38b3061d..7d02a4e6c 100644 --- a/src/mailman/app/subscriptions.py +++ b/src/mailman/app/subscriptions.py @@ -287,7 +287,7 @@ class SubscriptionWorkflow(_SubscriptionWorkflowCommon): msg = UserNotification( self.mlist.owner_address, self.mlist.owner_address, subject, text, self.mlist.preferred_language) - msg.send(self.mlist, to_moderators=True) + msg.send(self.mlist) # The workflow must stop running here. raise StopIteration @@ -435,7 +435,7 @@ class UnSubscriptionWorkflow(_SubscriptionWorkflowCommon): msg = UserNotification( self.mlist.owner_address, self.mlist.owner_address, subject, text, self.mlist.preferred_language) - msg.send(self.mlist, to_moderators=True) + msg.send(self.mlist) # The workflow must stop running here raise StopIteration diff --git a/src/mailman/chains/hold.py b/src/mailman/chains/hold.py index 0b50964b7..86761c3e1 100644 --- a/src/mailman/chains/hold.py +++ b/src/mailman/chains/hold.py @@ -247,7 +247,7 @@ also appear in the first line of the body of the reply.""")), nmsg.attach(text) nmsg.attach(MIMEMessage(msg)) nmsg.attach(MIMEMessage(dmsg)) - nmsg.send(mlist, to_moderators=True) + nmsg.send(mlist) # Log the held message. Log messages are not translated, so recast # the reasons in the English. with _.using('en'): |
