Skip to content

Commit

Permalink
Remove update_totals/persist_totals delegation
Browse files Browse the repository at this point in the history
These are private methods on OrderUpdater, so there's no need for doing
this. It's been like like this since 2.2ish when these were made
private, but no one removed this.
  • Loading branch information
jarednorman committed Dec 22, 2018
1 parent 7b6b50f commit f81bebe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/app/models/spree/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def self.find_by_param!(value)
find_by! number: value
end

delegate :update_totals, :persist_totals, to: :updater
delegate :firstname, :lastname, to: :bill_address, prefix: true, allow_nil: true
alias_method :billing_firstname, :bill_address_firstname
alias_method :billing_lastname, :bill_address_lastname
Expand Down

0 comments on commit f81bebe

Please sign in to comment.