diff options
author | sarah khalil <mkhalil.sarah@gmail.com> | 2015-01-21 20:48:04 +0100 |
---|---|---|
committer | sarah khalil <mkhalil.sarah@gmail.com> | 2015-01-21 21:14:55 +0100 |
commit | ad78f5a640b515579db750d4f87dc9169dd4b9e3 (patch) | |
tree | 0cad8351e2f7471e84b09c547565a417e05432c8 /Http/Firewall | |
parent | 21689b9e96aa820bcb2a2979d04685675497f736 (diff) | |
download | symfony-security-ad78f5a640b515579db750d4f87dc9169dd4b9e3.zip symfony-security-ad78f5a640b515579db750d4f87dc9169dd4b9e3.tar.gz symfony-security-ad78f5a640b515579db750d4f87dc9169dd4b9e3.tar.bz2 |
Removed dead code and various cleaningv2.3.25
Diffstat (limited to 'Http/Firewall')
-rw-r--r-- | Http/Firewall/AccessListener.php | 2 | ||||
-rw-r--r-- | Http/Firewall/ExceptionListener.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Http/Firewall/AccessListener.php b/Http/Firewall/AccessListener.php index 9349012..ecb6a09 100644 --- a/Http/Firewall/AccessListener.php +++ b/Http/Firewall/AccessListener.php @@ -55,7 +55,7 @@ class AccessListener implements ListenerInterface $request = $event->getRequest(); - list($attributes, $channel) = $this->map->getPatterns($request); + list($attributes) = $this->map->getPatterns($request); if (null === $attributes) { return; diff --git a/Http/Firewall/ExceptionListener.php b/Http/Firewall/ExceptionListener.php index 58564dd..fac5dc1 100644 --- a/Http/Firewall/ExceptionListener.php +++ b/Http/Firewall/ExceptionListener.php @@ -87,7 +87,7 @@ class ExceptionListener } elseif ($exception instanceof AccessDeniedException) { return $this->handleAccessDeniedException($event, $exception); } elseif ($exception instanceof LogoutException) { - return $this->handleLogoutException($event, $exception); + return $this->handleLogoutException($exception); } } while (null !== $exception = $exception->getPrevious()); } @@ -153,7 +153,7 @@ class ExceptionListener } } - private function handleLogoutException(GetResponseForExceptionEvent $event, LogoutException $exception) + private function handleLogoutException(LogoutException $exception) { if (null !== $this->logger) { $this->logger->info(sprintf('Logout exception occurred; wrapping with AccessDeniedHttpException (%s)', $exception->getMessage())); |