summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/rest/members.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mailman/rest/members.py b/src/mailman/rest/members.py
index 9e2c4fbba..ea47b50d6 100644
--- a/src/mailman/rest/members.py
+++ b/src/mailman/rest/members.py
@@ -260,21 +260,12 @@ class AllMembers(_MemberBase):
pre_verified = arguments.pop('pre_verified', False)
pre_confirmed = arguments.pop('pre_confirmed', False)
pre_approved = arguments.pop('pre_approved', False)
- '''
- # Check if the request for this email is already pending under moderation
- pendings = getUtility(IPendings).find(mlist=mlist, pend_type='subscription')
- for token,pendable in pendings:
- if pendable['email']==subscriber.email and pendable['token_owner']=='moderator':
- conflict(response,b'Subscription request pending for moderation')
- return
- '''
# Now we can run the registration process until either the
# subscriber is subscribed, or the workflow is paused for
# verification, confirmation, or approval.
try:
registrar = IRegistrar(mlist)
except SubscriptionPendingError:
- print('hi')
conflict(response ,b'Subscrition request already pending')
return
try: