From a293cb3a7650229244a40f63322c9bc80a0678aa Mon Sep 17 00:00:00 2001 From: Etienne Roudeix Date: Fri, 10 Jan 2014 16:28:29 +0100 Subject: [PATCH] remove useless code in auth loop --- core/lib/Thelia/Core/Template/Loop/Auth.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/lib/Thelia/Core/Template/Loop/Auth.php b/core/lib/Thelia/Core/Template/Loop/Auth.php index 0cb7a5e88..667d5dfd2 100755 --- a/core/lib/Thelia/Core/Template/Loop/Auth.php +++ b/core/lib/Thelia/Core/Template/Loop/Auth.php @@ -88,10 +88,6 @@ class Auth extends BaseLoop implements ArraySearchLoopInterface $module = $this->getModule(); $access = $this->getAccess(); - if (null !== $module) { - $in = true; - } - try { if (true === $this->securityContext->isGranted( $roles,