summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-10-25 00:11:29 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-10-25 00:11:29 +0200
commitdabdb1d36b3f8595ebf154671bf881cb2881a3ae (patch)
treeda7d3e6be84d4f8dca6fe03ec2c0f2f6f67f8913 /Bugzilla
parentb1ef06ac929b878163befb7effa54aa13d6426e5 (diff)
downloadbugzilla-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.tar.gz
bugzilla-dabdb1d36b3f8595ebf154671bf881cb2881a3ae.tar.xz
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;