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 5311f920 Not needed
5311f920 is described below
commit 5311f920b7f609c2850fd059631ebfffd912ff1f
Author: Sebb <[email protected]>
AuthorDate: Wed Sep 25 14:00:00 2024 +0100
Not needed
---
www/members/list-traffic.cgi | 4 ----
1 file changed, 4 deletions(-)
diff --git a/www/members/list-traffic.cgi b/www/members/list-traffic.cgi
index 6e186b31..34089c76 100755
--- a/www/members/list-traffic.cgi
+++ b/www/members/list-traffic.cgi
@@ -208,17 +208,13 @@ end
# Return just sorted data counts as JSON
_json do
- $stderr.puts [__LINE__, Time.now].inspect
months = Dir["#{SRV_MAIL}/*"].map {|path| File.basename(path)}.grep(/^\d+$/)
data = Hash.new {|h, k| h[k] = {} }
months.sort.reverse.each do |month|
- $stderr.puts [__LINE__, Time.now, month].inspect
tmp = MailUtils.get_mails_month(mailroot: SRV_MAIL, yearmonth: month,
nondiscuss: MailUtils::NONDISCUSSION_SUBJECTS["<#{LIST_ROOT}.apache.org>"])
- $stderr.puts [__LINE__, Time.now, month].inspect
next if tmp.empty?
data[month][MailUtils::TOOLCOUNT] = tmp[MailUtils::TOOLCOUNT]
data[month][MailUtils::MAILCOUNT] = tmp[MailUtils::MAILCOUNT]
end
- $stderr.puts [__LINE__, Time.now].inspect
data
end