Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

some minor changes to logging the number of subscribers.

  • Loading branch information...
commit 56e777ba81b1c911846e0082ead5408b6779bcfd 1 parent 7b91711
@justingit authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 dada/DADA/Mail/Send.pm
View
7 dada/DADA/Mail/Send.pm
@@ -1381,6 +1381,9 @@ sub mass_send {
# Tests
# Any mailing type, except, "list"
#
+ warn 'about to call _log_sub_count, $fields{\'Message-ID\'}:' . $fields{'Message-ID'} . ', $num_subscribers: ' . $num_subscribers
+ if $t;
+
$self->_log_sub_count(
-msg_id => $fields{'Message-ID'},
-num_subscribers => $num_subscribers,
@@ -3019,7 +3022,7 @@ sub _log_sub_count {
my $self = shift;
my %args = (-msg_id => undef,
- -num_subscribers => undef,
+ -num_subscribers => 0,
@_
);
@@ -3051,6 +3054,8 @@ sub _log_sub_count {
-ls => $self->{ls},
}
);
+ warn '_log_sub_count: $msg_id: ' . $msg_id . '$num_subscribers:' . $num_subscribers
+ if $t;
$r->sc_log(
{
-mid => $msg_id,

0 comments on commit 56e777b

Please sign in to comment.
Something went wrong with that request. Please try again.