diff --git a/app/models/concerns/line_item_based_adjustment_handling.rb b/app/models/concerns/line_item_based_adjustment_handling.rb deleted file mode 100644 index 70aa9549c7..0000000000 --- a/app/models/concerns/line_item_based_adjustment_handling.rb +++ /dev/null @@ -1,8 +0,0 @@ -module LineItemBasedAdjustmentHandling - extend ActiveSupport::Concern - - included do - has_many :adjustments_for_which_source, class_name: "Spree::Adjustment", as: :source, - dependent: :destroy - end -end diff --git a/app/models/spree/line_item.rb b/app/models/spree/line_item.rb index 5813511577..bf58e337ab 100644 --- a/app/models/spree/line_item.rb +++ b/app/models/spree/line_item.rb @@ -7,7 +7,6 @@ module Spree class LineItem < ActiveRecord::Base include VariantUnits::VariantAndLineItemNaming include LineItemStockChanges - include LineItemBasedAdjustmentHandling belongs_to :order, class_name: "Spree::Order", inverse_of: :line_items belongs_to :variant, class_name: "Spree::Variant"