diff options
author | Tobias Schultze <webmaster@tubo-world.de> | 2013-09-18 17:43:08 +0200 |
---|---|---|
committer | Tobias Schultze <webmaster@tubo-world.de> | 2013-09-18 18:54:35 +0200 |
commit | f780c0f107662295fc142e227c63a2ea8c04c7ee (patch) | |
tree | 69f452a87158de1b23290dfbbfd683bde232e82a | |
parent | 87e9387909bff09677c9e3cc6e518ad4831c836c (diff) | |
download | symfony-security-f780c0f107662295fc142e227c63a2ea8c04c7ee.zip symfony-security-f780c0f107662295fc142e227c63a2ea8c04c7ee.tar.gz symfony-security-f780c0f107662295fc142e227c63a2ea8c04c7ee.tar.bz2 |
[Security] remove unused logger
-rw-r--r-- | Http/Firewall/AccessListener.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Http/Firewall/AccessListener.php b/Http/Firewall/AccessListener.php index c3894ef..9349012 100644 --- a/Http/Firewall/AccessListener.php +++ b/Http/Firewall/AccessListener.php @@ -15,7 +15,6 @@ use Symfony\Component\Security\Core\SecurityContextInterface; use Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface; use Symfony\Component\Security\Http\AccessMapInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface; -use Psr\Log\LoggerInterface; use Symfony\Component\HttpKernel\Event\GetResponseEvent; use Symfony\Component\Security\Core\Exception\AuthenticationCredentialsNotFoundException; use Symfony\Component\Security\Core\Exception\AccessDeniedException; @@ -31,15 +30,13 @@ class AccessListener implements ListenerInterface private $accessDecisionManager; private $map; private $authManager; - private $logger; - public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager, LoggerInterface $logger = null) + public function __construct(SecurityContextInterface $context, AccessDecisionManagerInterface $accessDecisionManager, AccessMapInterface $map, AuthenticationManagerInterface $authManager) { $this->context = $context; $this->accessDecisionManager = $accessDecisionManager; $this->map = $map; $this->authManager = $authManager; - $this->logger = $logger; } /** |