From 5856b0849ba1c12710ef59c18acb5d662d8897de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Chans=C3=A9aume?= Date: Mon, 28 Apr 2014 14:39:32 +0200 Subject: [PATCH] unnecessary code removed --- .../Core/Template/Smarty/Plugins/CartPostage.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/lib/Thelia/Core/Template/Smarty/Plugins/CartPostage.php b/core/lib/Thelia/Core/Template/Smarty/Plugins/CartPostage.php index 151dfa1b8..9ab021886 100644 --- a/core/lib/Thelia/Core/Template/Smarty/Plugins/CartPostage.php +++ b/core/lib/Thelia/Core/Template/Smarty/Plugins/CartPostage.php @@ -18,7 +18,6 @@ use Symfony\Component\DependencyInjection\ContainerInterface; use Thelia\Core\Template\Smarty\AbstractSmartyPlugin; use Thelia\Core\Template\Smarty\SmartyPluginDescriptor; -use Thelia\Core\Translation\Translator; use Thelia\Model\AddressQuery; use Thelia\Model\ConfigQuery; use Thelia\Model\Country; @@ -43,15 +42,6 @@ class CartPostage extends AbstractSmartyPlugin /** @var \Thelia\Core\HttpFoundation\Request The Request */ protected $request; - /** @var \Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher The Dispatcher */ - protected $dispatcher; - - /** @var \Thelia\Core\Security\SecurityContext The Security Context */ - protected $securityContext; - - /** @var Translator */ - protected $translator; - /** @var ContainerInterface Service Container */ protected $container = null; @@ -75,9 +65,6 @@ class CartPostage extends AbstractSmartyPlugin $this->container = $container; $this->request = $container->get('request'); - //$this->dispatcher = $container->get('event_dispatcher'); - //$this->securityContext = $container->get('thelia.securityContext'); - $this->translator = $container->get("thelia.translator"); } /**