remove unused variable

This commit is contained in:
Manuel Raynaud
2014-06-24 10:38:43 +02:00
parent 77a4c45aa4
commit 84c2432507
7 changed files with 5 additions and 16 deletions

View File

@@ -234,9 +234,6 @@ class FreeProduct extends AbstractRemoveOnProducts
}
if ($freeProductCartItem instanceof CartItem) {
$taxCountry = $this->facade->getDeliveryCountry();
// The discount is the product price.
$discount = $freeProductCartItem->getPromo() ?
$freeProductCartItem->getPromoPrice() : $freeProductCartItem->getPrice();