mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Delete dead code Order#billing_firstname and Order#billing_lastname
🔥
This commit is contained in:
@@ -466,14 +466,6 @@ module Spree
|
||||
false
|
||||
end
|
||||
|
||||
def billing_firstname
|
||||
bill_address.try(:firstname)
|
||||
end
|
||||
|
||||
def billing_lastname
|
||||
bill_address.try(:lastname)
|
||||
end
|
||||
|
||||
def products
|
||||
line_items.map(&:product)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user