]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Revert unintended change in Bugzilla/Mailer.pm
authorDavid Lawrence <dlawrence@mozilla.com>
Mon, 24 Oct 2011 22:11:29 +0000 (18:11 -0400)
committerDavid Lawrence <dlawrence@mozilla.com>
Mon, 24 Oct 2011 22:11:29 +0000 (18:11 -0400)
Bugzilla/Mailer.pm

index f8d5e9556686cedc34c0e752bd349d53014de6cc..699467ed8ed67dc84c5ec83175ab22ea0ad03792 100644 (file)
@@ -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;