Skip to content

Commit

Permalink
Save binspam-related stats
Browse files Browse the repository at this point in the history
Three binspam-related stats numbers were being generated for the daily mail
but were not saved to stats_daily.
  • Loading branch information
jamiemccarthy committed Jun 3, 2008
1 parent f2a4a75 commit c53848e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/Stats/adminmail.pl
Expand Up @@ -945,8 +945,11 @@
my($binspam_globj_count, $is_spam_new_count, $autodetected_count)
= $stats->tallyBinspam();
$data{binspam_globj_count} = $binspam_globj_count;
$statsSave->createStatDaily('binspam_globj_count', $binspam_globj_count);
$data{is_spam_new_count} = $is_spam_new_count;
$statsSave->createStatDaily('is_spam_new_count', $is_spam_new_count);
$data{is_spam_autodetected_count} = $autodetected_count;
$statsSave->createStatDaily('is_spam_autodetected_count', $is_spam_autodetected_count);
}

if ($tags) {
Expand Down

0 comments on commit c53848e

Please sign in to comment.