This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new d1b60950 Unused parameter
d1b60950 is described below
commit d1b6095092ec22fa2efcaa00cac4bb34bde35433
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 20 23:55:24 2024 +0000
Unused parameter
---
lib/whimsy/asf/mlist.rb | 3 +--
www/roster/models/committee.rb | 2 +-
www/roster/models/ppmc.rb | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index 0a567617..064eac3a 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -155,10 +155,9 @@ module ASF
# for a mail domain, extract related lists and their moderators
# also returns the time when the data was last checked
- # If podling==true, then also check for old-style podling names
# returns: [{[email protected]=>[email1, email2]}, mod-time]
# if mail_domain is nil, matches all lists except infra test lists
- def self.list_moderators(mail_domain, _podling=false)
+ def self.list_moderators(mail_domain)
moderators = {}
list_parse('mod') do |dom, list, subs|
diff --git a/www/roster/models/committee.rb b/www/roster/models/committee.rb
index 69663028..7866779f 100644
--- a/www/roster/models/committee.rb
+++ b/www/roster/models/committee.rb
@@ -21,7 +21,7 @@ class Committee
# always needed: if not a member, for checking moderator status
# and if a member, needed for showing list moderators
# will be dropped later if insufficient karma
- moderators, modtime = ASF::MLIST.list_moderators(pmc.mail_list, true)
+ moderators, modtime = ASF::MLIST.list_moderators(pmc.mail_list)
subscribers = nil # we get the counts only here
subtime = nil
pSubs = [] # private@ subscribers
diff --git a/www/roster/models/ppmc.rb b/www/roster/models/ppmc.rb
index 4fb8b0e5..0bf6840f 100644
--- a/www/roster/models/ppmc.rb
+++ b/www/roster/models/ppmc.rb
@@ -18,7 +18,7 @@ class PPMC
# always needed: if not a member, for checking moderator status
# and if a member, needed for showing list moderators
# will be dropped later if insufficient karma
- moderators, modtime = ASF::MLIST.list_moderators(ppmc.mail_list, true)
+ moderators, modtime = ASF::MLIST.list_moderators(ppmc.mail_list)
subscribers = nil # we get the counts only here
subtime = nil
pSubs = [] # private@ subscribers