X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=module%2FApplication%2Fsrc%2FApplication%2FView%2FListener.php;h=100530e91c611227ea8069cf7df6ca90d9d2501b;hb=a3499c5efbdf8b7be69aab4c756588d722ecf4ef;hp=568340510fe2cd5acdc010ced50af24c1f53ad0a;hpb=2d4c24e88b0696fd52d63c29fc7cec8d0c584184;p=zf2.biz%2Fgalerie.git diff --git a/module/Application/src/Application/View/Listener.php b/module/Application/src/Application/View/Listener.php index 5683405..100530e 100644 --- a/module/Application/src/Application/View/Listener.php +++ b/module/Application/src/Application/View/Listener.php @@ -150,7 +150,6 @@ class Listener implements ListenerAggregate public function renderError(MvcEvent $e) { $error = $e->getError(); - $app = $e->getTarget(); $response = $e->getResponse(); if (!$response) { $response = new Response(); @@ -170,7 +169,6 @@ class Listener implements ListenerAggregate case Application::ERROR_EXCEPTION: default: - $exception = $e->getParam('exception'); $vars = array( 'message' => 'An error occurred during execution; please try again later.', 'exception' => $e->getParam('exception'),