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 Jan 28, 2021
1 parent 177804c commit e8a002d
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 e8a002d

Please sign in to comment.