mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Remove unused StockLocation#stock_item_or_create
This commit is contained in:
@@ -27,9 +27,5 @@ module Spree
|
||||
def stock_movements
|
||||
StockMovement.all
|
||||
end
|
||||
|
||||
def stock_item_or_create(variant)
|
||||
stock_item(variant) || stock_items.create(variant:)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user