X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst.pm;h=c5f9f7857c1fe9db7b67eb6e141f4b3ad647517a;hp=358037396659e7e10829530b3fd2ef88b42eb278;hb=d2c88741623b277f5420ae2fe75b8a830a4902ee;hpb=14d2fa6a7c8d5033bcec01095abe5f95610e91db diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 3580373..c5f9f78 100755 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2199,9 +2199,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