mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Delete dead code #editable_by?
This is junk Spree code from 2010. 11 years old! The method that previous called this was removed long ago...
This commit is contained in:
@@ -160,10 +160,6 @@ module Spree
|
||||
Spree::Money.new(item_cost, currency: currency)
|
||||
end
|
||||
|
||||
def editable_by?(_user)
|
||||
!shipped?
|
||||
end
|
||||
|
||||
def update_amounts
|
||||
return unless fee_adjustment&.amount != cost
|
||||
|
||||
|
||||
Reference in New Issue
Block a user