Permalink
Browse files

Remove unused variables

  • Loading branch information...
1 parent 6288ec4 commit a3499c5efbdf8b7be69aab4c756588d722ecf4ef @Maxell Maxell committed Jan 10, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 module/Application/src/Application/View/Listener.php
@@ -150,7 +150,6 @@ public function render404(MvcEvent $e)
public function renderError(MvcEvent $e)
{
$error = $e->getError();
- $app = $e->getTarget();
$response = $e->getResponse();
if (!$response) {
$response = new Response();
@@ -170,7 +169,6 @@ public function renderError(MvcEvent $e)
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'),

0 comments on commit a3499c5

Please sign in to comment.