mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Delete more dead code in CartService
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user