mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Remove dead code CartService#cart_remove
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user