Remove dead code CartService#cart_remove

This commit is contained in:
Matt-Yorkley
2021-05-11 18:08:59 +01:00
parent 398d4b2612
commit a883b2cf63

View File

@@ -109,11 +109,6 @@ class CartService
variants_array
end
def cart_remove(variant_id)
variant = Spree::Variant.find(variant_id)
@order.contents.remove(variant)
end
def distributor_and_order_cycle
[@order.distributor, @order.order_cycle]
end