From 65ba28a251fd7c944a7cd08f7842b7ca638acf49 Mon Sep 17 00:00:00 2001 From: Benjamin Perche Date: Fri, 27 Jun 2014 14:20:00 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20useless=20usage=20of=20loadRequirement?= =?UTF-8?q?s=20=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20core/lib/Thelia/?= =?UTF-8?q?TaxEngine/Calculator.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/lib/Thelia/TaxEngine/Calculator.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/lib/Thelia/TaxEngine/Calculator.php b/core/lib/Thelia/TaxEngine/Calculator.php index 77a7b41a3..7c042b6e8 100644 --- a/core/lib/Thelia/TaxEngine/Calculator.php +++ b/core/lib/Thelia/TaxEngine/Calculator.php @@ -154,7 +154,6 @@ class Calculator $position = (int) $taxRule->getTaxRuleCountryPosition(); $taxType = $taxRule->getTypeInstance(); - $taxType->loadRequirements( $taxRule->getRequirements() ); if ($currentPosition !== $position) { $taxedPrice += $currentTax; @@ -209,7 +208,6 @@ class Calculator $position = (int) $taxRule->getTaxRuleCountryPosition(); $taxType = $taxRule->getTypeInstance(); - $taxType->loadRequirements( $taxRule->getRequirements() ); if ($currentPosition !== $position) { $untaxedPrice -= $currentFixTax;