Remove useless usage of loadRequirements

modifié:         core/lib/Thelia/TaxEngine/Calculator.php
This commit is contained in:
Benjamin Perche
2014-06-27 14:20:00 +02:00
parent fd1a34604e
commit 65ba28a251

View File

@@ -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;