lib/SOAP/Transport/HTTP2.pm | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/lib/SOAP/Transport/HTTP2.pm b/lib/SOAP/Transport/HTTP2.pm index aae1a75..6a6a671 100644 --- a/lib/SOAP/Transport/HTTP2.pm +++ b/lib/SOAP/Transport/HTTP2.pm @@ -76,12 +76,6 @@ sub new { $self->{'MOD_PERL_VERSION'} = 2; last MOD_PERL; }; - (eval { require Apache;} ) and do { - require Apache::Constants; - Apache::Constants->import('OK'); - $self->{'MOD_PERL_VERSION'} = 1; - last MOD_PERL; - }; die "Unsupported version of mod_perl"; } return $self;