aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/admin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py
index 949689c2..0649ced7 100644
--- a/Mailman/Cgi/admin.py
+++ b/Mailman/Cgi/admin.py
@@ -1262,7 +1262,8 @@ def change_options(mlist, category, subcat, cgidata, doc):
mlist.InviteNewMember(userdesc, invitation)
else:
mlist.ApprovedAddMember(userdesc, send_welcome_msg,
- send_admin_notif, invitation)
+ send_admin_notif, invitation,
+ whence='admin mass sub')
except Errors.MMAlreadyAMember:
subscribe_errors.append((entry, _('Already a member')))
except Errors.MMBadEmailError:
@@ -1353,7 +1354,7 @@ def change_options(mlist, category, subcat, cgidata, doc):
for user in users:
if cgidata.has_key('%s_unsub' % user):
try:
- mlist.ApprovedDeleteMember(user)
+ mlist.ApprovedDeleteMember(user, whence='member mgt page')
removes.append(user)
except Errors.NotAMemberError:
errors.append((user, _('Not subscribed')))