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:
Matt-Yorkley
2021-05-10 23:27:39 +01:00
parent 34eaf6f0f2
commit 67264c047f

View File

@@ -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