From 513eb96fded70a3a305f85b5f7dcdfed36f55457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20PY?= Date: Wed, 20 Mar 2013 12:00:34 +0100 Subject: [PATCH] Fix cache invalidate signature method on ApiCache. --- book/http_cache.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/http_cache.rst b/book/http_cache.rst index 4ebf7f7b020..5e4571a6450 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -1017,10 +1017,10 @@ Here is how you can configure the Symfony2 reverse proxy to support the class AppCache extends HttpCache { - protected function invalidate(Request $request) + protected function invalidate(Request $request, $catch = false) { if ('PURGE' !== $request->getMethod()) { - return parent::invalidate($request); + return parent::invalidate($request, $catch); } $response = new Response();