From aca72e6071f3195e2ec9a94bcd43132194ac9bfb Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sun, 21 May 2023 15:15:31 +0100 Subject: [PATCH] Remove dead code (cherry picked from commit 42a5a488168e904b140201a833437dd1b393f5e5) --- app/models/spree/product.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/spree/product.rb b/app/models/spree/product.rb index c25e0575b8..bf162b24d5 100755 --- a/app/models/spree/product.rb +++ b/app/models/spree/product.rb @@ -75,8 +75,7 @@ module Spree ) } - delegate_belongs_to :master, :sku, :price, :currency, :display_amount, :display_price, :weight, - :height, :width, :depth, :is_master, :cost_currency, + delegate_belongs_to :master, :sku, :price, :currency, :display_amount, :display_price, :price_in, :amount_in, :unit_value, :unit_description delegate :images_attributes=, :display_as=, to: :master