summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-04-08 22:08:30 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-04-08 22:08:30 +0200
commitbd7aa0ad2bb25e7820df1e629f853f7a17f5d0e0 (patch)
tree782a6cab5c02b4e4d0d56ed5fe4daa8dd727b62c
parent72780239f1572950635e058caa4c28068034045f (diff)
downloadbugzilla-bd7aa0ad2bb25e7820df1e629f853f7a17f5d0e0.tar.gz
bugzilla-bd7aa0ad2bb25e7820df1e629f853f7a17f5d0e0.tar.xz
Remove unintentional code commits
-rw-r--r--Bugzilla.pm2
-rw-r--r--Bugzilla/Mailer.pm2
2 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 8f235da21..6331c60fe 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -68,7 +68,7 @@ use constant SHUTDOWNHTML_RETRY_AFTER => 3600;
# Global Code
#####################################################################
-$::SIG{__DIE__} = i_am_cgi() ? \&CGI::Carp::confess : \&Carp::confess;
+#$::SIG{__DIE__} = i_am_cgi() ? \&CGI::Carp::confess : \&Carp::confess;
# Note that this is a raw subroutine, not a method, so $class isn't available.
sub init_page {
diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm
index b60ddb72e..6602c6cef 100644
--- a/Bugzilla/Mailer.pm
+++ b/Bugzilla/Mailer.pm
@@ -136,8 +136,6 @@ sub MessageToMTA {
Bugzilla::Hook::process('mailer_before_send',
{ email => $email, mailer_args => \@args });
- return if $email->header('to') eq '';
-
$email->walk_parts(sub {
my ($part) = @_;
return if $part->parts > 1; # Top-level