From 88a81830ccc951f52aa2465eae4a66d1e0d6f1eb Mon Sep 17 00:00:00 2001 From: Iakov Mishchenko Date: Tue, 22 Apr 2014 21:20:27 +0300 Subject: [PATCH] Removed unreachable statement --- Controller/ImagineController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Controller/ImagineController.php b/Controller/ImagineController.php index e3385861c..348f2b5fa 100644 --- a/Controller/ImagineController.php +++ b/Controller/ImagineController.php @@ -92,7 +92,5 @@ public function filterAction(Request $request, $path, $filter) } catch (RuntimeException $e) { throw new \RuntimeException(sprintf('Unable to create image for path "%s" and filter "%s". Message was "%s"', $pathPrefix.$path, $filter, $e->getMessage()), 0, $e); } - - return new RedirectResponse($this->cacheManager->resolve($path, $filter), 301); } }