Skip to content

Commit 9a86cde

Browse files
ro0NLfabpot
authored andcommitted
[FrameworkBundle] Dont set pre-defined esi/ssi services
1 parent 9e48546 commit 9a86cde

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

HttpCache/HttpCache.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ public function __construct(HttpKernelInterface $kernel, $cacheDir = null)
5454
protected function forward(Request $request, $raw = false, Response $entry = null)
5555
{
5656
$this->getKernel()->boot();
57-
$this->getKernel()->getContainer()->set('cache', $this);
58-
$this->getKernel()->getContainer()->set($this->getSurrogate()->getName(), $this->getSurrogate());
57+
$this->getKernel()->getContainer()->set('cache', $this); // to be removed in 4.0?
5958
6059
return parent::forward($request, $raw, $entry);
6160
}

0 commit comments

Comments
 (0)