From 3fb3df9db15dcd621f84cfd57d6ef215160f1a7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 11 May 2022 19:40:28 +0200 Subject: [PATCH] remove not necessary debug log --- .../Security/Authorization/AccompanyingCourseDocumentVoter.php | 2 -- src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Bundle/ChillDocStoreBundle/Security/Authorization/AccompanyingCourseDocumentVoter.php b/src/Bundle/ChillDocStoreBundle/Security/Authorization/AccompanyingCourseDocumentVoter.php index 88e701fcf..35fde9b28 100644 --- a/src/Bundle/ChillDocStoreBundle/Security/Authorization/AccompanyingCourseDocumentVoter.php +++ b/src/Bundle/ChillDocStoreBundle/Security/Authorization/AccompanyingCourseDocumentVoter.php @@ -85,8 +85,6 @@ class AccompanyingCourseDocumentVoter extends AbstractChillVoter implements Prov protected function voteOnAttribute($attribute, $subject, TokenInterface $token) { - $this->logger->debug(sprintf('Voting from %s class', self::class)); - if (!$token->getUser() instanceof User) { return false; } diff --git a/src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php b/src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php index 06953a107..1038ac42f 100644 --- a/src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php +++ b/src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php @@ -99,8 +99,6 @@ final class TaskVoter extends AbstractChillVoter implements ProvideRoleHierarchy protected function voteOnAttribute($attribute, $subject, TokenInterface $token) { - $this->logger->debug(sprintf('Voting from %s class', self::class)); - if (!$token->getUser() instanceof User) { return false; }