From: John Napiorkowski Date: Sat, 28 Jun 2014 13:45:33 +0000 (-0400) Subject: removed a bit more PSGI::Engine backcompat X-Git-Tag: 5.90070~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=817ed8ab62b7b59cc37e82d67aa45824211f75f6 removed a bit more PSGI::Engine backcompat --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index f6b1d09..c409eb0 100755 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2180,9 +2180,7 @@ Prepares connection. sub prepare_connection { my $c = shift; - # XXX - This is called on the engine (not the request) to maintain - # Engine::PSGI back compat. - $c->engine->prepare_connection($c); + $c->request->prepare_connection($c); } =head2 $c->prepare_cookies diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index a84bdda..c5aacad 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -22,12 +22,6 @@ use namespace::clean -except => 'meta'; # Amount of data to read from input on each pass our $CHUNKSIZE = 64 * 1024; -# XXX - Only here for Engine::PSGI compat -sub prepare_connection { - my ($self, $ctx) = @_; - $ctx->request->prepare_connection; -} - =head1 NAME Catalyst::Engine - The Catalyst Engine