Skip to content

Commit

Permalink
Item9139: Apache needs new() method for some configurations
Browse files Browse the repository at this point in the history
Fix proposed by PaulHarvey
  • Loading branch information
gac410 committed Jan 24, 2015
1 parent c5f55fb commit 4260184
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ModPerlEngineContrib/lib/Foswiki/Engine/Apache2/MP20.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ BEGIN {
*queryClass = $@ ? sub { 'CGI' } : sub { 'Apache2::Request' };
}

sub new {
my $proto = shift;
my $class = ref($proto) || $proto;
my $this = {};
return bless $this, $class;
}

sub OK { Apache2::Const::OK }

1;

0 comments on commit 4260184

Please sign in to comment.