Skip to content

Commit

Permalink
Remove Spree::Shipment#address
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielePalombo authored and kennyadsl committed Nov 17, 2020
1 parent 2ef76d8 commit 48c806d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/app/models/spree/shipment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,6 @@ def requires_shipment?
!stock_location || stock_location.fulfillable?
end

def address
Spree::Deprecation.warn("Calling Shipment#address is deprecated. Use Order#ship_address instead", caller)
order.ship_address if order
end

private

def finalize_pending_inventory_units
Expand Down

0 comments on commit 48c806d

Please sign in to comment.