Skip to content

Commit

Permalink
Remove duplicate method definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Feb 16, 2016
1 parent 1493506 commit f4f7d56
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions core/app/models/spree/adjustment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ def update!(target = nil)
amount
end

def currency
adjustable ? adjustable.currency : Spree::Config[:currency]
end

private

def update_adjustable_adjustment_total
Expand Down
5 changes: 0 additions & 5 deletions core/app/models/spree/legacy_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ class LegacyUser < Spree::Base

self.table_name = 'spree_users'

# for url generation
def self.model_name
ActiveModel::Name.new(self, nil, "User")
end

before_destroy :check_completed_orders

def self.model_name
Expand Down

0 comments on commit f4f7d56

Please sign in to comment.