Commit bd7aa0ad authored by Dave Lawrence's avatar Dave Lawrence

Remove unintentional code commits

parent 72780239
...@@ -68,7 +68,7 @@ use constant SHUTDOWNHTML_RETRY_AFTER => 3600; ...@@ -68,7 +68,7 @@ use constant SHUTDOWNHTML_RETRY_AFTER => 3600;
# Global Code # 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. # Note that this is a raw subroutine, not a method, so $class isn't available.
sub init_page { sub init_page {
......
...@@ -136,8 +136,6 @@ sub MessageToMTA { ...@@ -136,8 +136,6 @@ sub MessageToMTA {
Bugzilla::Hook::process('mailer_before_send', Bugzilla::Hook::process('mailer_before_send',
{ email => $email, mailer_args => \@args }); { email => $email, mailer_args => \@args });
return if $email->header('to') eq '';
$email->walk_parts(sub { $email->walk_parts(sub {
my ($part) = @_; my ($part) = @_;
return if $part->parts > 1; # Top-level return if $part->parts > 1; # Top-level
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment