Delete more dead code in CartService

This commit is contained in:
Matt-Yorkley
2021-05-12 13:06:31 +01:00
parent b8ccee5f30
commit 3b52b173e8

View File

@@ -57,9 +57,6 @@ class CartService
end
def attempt_cart_add(variant, quantity, max_quantity = nil)
quantity = quantity
max_quantity = max_quantity if max_quantity
scoper.scope(variant)
return unless valid_variant?(variant)