Skip to content

Commit c8ba3b2

Browse files
committed
[HttpKernel] remove legacy duplicated code
Finishes reverting part of 227ac77 in 4f020b5
1 parent db208e3 commit c8ba3b2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -143,18 +143,6 @@ public function collect(Request $request, Response $response, \Exception $except
143143
'status_text' => Response::$statusTexts[(int) $statusCode],
144144
));
145145
}
146-
147-
if ($parentRequestAttributes = $request->attributes->get('_forwarded')) {
148-
if ($parentRequestAttributes instanceof ParameterBag) {
149-
$parentRequestAttributes->set('_forward_token', $response->headers->get('x-debug-token'));
150-
}
151-
}
152-
if ($request->attributes->has('_forward_controller')) {
153-
$this->data['forward'] = array(
154-
'token' => $request->attributes->get('_forward_token'),
155-
'controller' => $this->parseController($request->attributes->get('_forward_controller')),
156-
);
157-
}
158146
}
159147

160148
public function getMethod()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy