From: Dave Lawrence Date: Mon, 8 Apr 2013 20:08:30 +0000 (-0400) Subject: Remove unintentional code commits X-Git-Tag: bugzilla-4.5.1~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd7aa0ad2bb25e7820df1e629f853f7a17f5d0e0;p=thirdparty%2Fbugzilla.git Remove unintentional code commits --- diff --git a/Bugzilla.pm b/Bugzilla.pm index 8f235da217..6331c60fe5 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 b60ddb72e5..6602c6cef0 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