Skip to content

Commit e1dc7b6

Browse files
authored
Aktualisieren von spree_taxon_patch.rb
1 parent 6ca7f71 commit e1dc7b6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

legacy_promotions/app/patches/models/solidus_legacy_promotions/spree_taxon_patch.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ module SpreeTaxonPatch
55
def self.prepended(base)
66
base.has_many :promotion_rule_taxons, dependent: :destroy
77
base.has_many :promotion_rules, through: :promotion_rule_taxons
8-
9-
base.after_discard do
10-
self.taxon_promotion_rules = []
11-
end
128
end
139

1410
::Spree::Taxon.prepend self

0 commit comments

Comments
 (0)