aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-10-24 18:11:29 -0400
committerDavid Lawrence <dlawrence@mozilla.com>2011-10-24 18:11:29 -0400
commitdabdb1d36b3f8595ebf154671bf881cb2881a3ae (patch)
treeda7d3e6be84d4f8dca6fe03ec2c0f2f6f67f8913 /Bugzilla
parentb1ef06ac929b878163befb7effa54aa13d6426e5 (diff)
downloadbugs-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.tar
bugs-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.tar.gz
bugs-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.tar.bz2
bugs-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.tar.xz
bugs-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.zip
Revert unintended change in Bugzilla/Mailer.pm
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Mailer.pm2
1 files changed, 0 insertions, 2 deletions
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;