Skip to content

Commit

Permalink
Merge pull request #19535 from idnovate/remove-code
Browse files Browse the repository at this point in the history
Remove unused code
  • Loading branch information
matks committed Jun 3, 2020
2 parents a7567a5 + a854e80 commit 69fe5fe
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions controllers/front/CartController.php
Expand Up @@ -489,17 +489,6 @@ protected function processChangeProductInCart()
}

if (!$this->errors) {
$cart_rules = $this->context->cart->getCartRules();
$available_cart_rules = CartRule::getCustomerCartRules(
$this->context->language->id,
(isset($this->context->customer->id) ? $this->context->customer->id : 0),
true,
true,
true,
$this->context->cart,
false,
true
);
$update_quantity = $this->context->cart->updateQty(
$this->qty,
$this->id_product,
Expand Down

0 comments on commit 69fe5fe

Please sign in to comment.