summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/subscriptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/interfaces/subscriptions.py')
-rw-r--r--src/mailman/interfaces/subscriptions.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mailman/interfaces/subscriptions.py b/src/mailman/interfaces/subscriptions.py
index 8de517c09..40c66cb1f 100644
--- a/src/mailman/interfaces/subscriptions.py
+++ b/src/mailman/interfaces/subscriptions.py
@@ -218,8 +218,7 @@ class ISubscriptionManager(Interface):
To use this, adapt an ``IMailingList`` to this interface.
"""
- def register(subscriber=None, *,
- pre_verified=False, pre_confirmed=False, pre_approved=False):
+ def register(subscriber=None, **kwargs):
"""Subscribe an address or user according to subscription policies.
The mailing list's subscription policy is used to subscribe
@@ -270,8 +269,7 @@ class ISubscriptionManager(Interface):
appears in the global or list-centric bans.
"""
- def unregister(subscriber=None, *,
- pre_confirmed=False, pre_approved=False):
+ def unregister(subscriber=None, **kwargs):
"""Unsubscribe an address or user according to subscription policies.
The mailing list's unsubscription policy is used to unsubscribe