]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Remove unintentional code commits
authorDave Lawrence <dlawrence@mozilla.com>
Mon, 8 Apr 2013 20:08:30 +0000 (16:08 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Mon, 8 Apr 2013 20:08:30 +0000 (16:08 -0400)
Bugzilla.pm
Bugzilla/Mailer.pm

index 8f235da21758bfd6e9ef4bc7a3a0b3c7ac5e2332..6331c60fe5cd74264f8c21db28d698454ee7605e 100644 (file)
@@ -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 {
index b60ddb72e5f71bd8d14ddc8ab3b32f138ef33f5f..6602c6cef087d5d195442a0db429cb73cec78251 100644 (file)
@@ -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