From dabdb1d36b3f8595ebf154671bf881cb2881a3ae Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 24 Oct 2011 18:11:29 -0400 Subject: Revert unintended change in Bugzilla/Mailer.pm --- Bugzilla/Mailer.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'Bugzilla/Mailer.pm') diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index f8d5e9556..699467ed8 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -171,8 +171,6 @@ sub MessageToMTA { Bugzilla::Hook::process('mailer_before_send', { email => $email, mailer_args => \@args }); - return if $email->header('to') eq ''; - if ($method eq "Test") { my $filename = bz_locations()->{'datadir'} . '/mailer.testfile'; open TESTFILE, '>>', $filename; -- cgit v1.2.3-24-g4f1b