Commit dd8a664a authored by David Carter's avatar David Carter
Browse files

Count messages in moderation queue for each list

parent 9585c001
......@@ -14295,6 +14295,12 @@ sub _set_my_lists_info {
if $r_action =~ /do_it/i;
}
}
# Count messages in moderation queue for each list
foreach my $list (values %all_lists) {
$which->{$list->{'name'}}{mod_count} =
Sympa::Spool::Moderation->new(context => $list)->size;
}
}
 
$param->{'which'} = $which;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment