Skip to content

Commit

Permalink
Add comment to remove order recalculator decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
mamhoff committed Oct 25, 2024
1 parent 3d89ee3 commit 44a3a4d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

module SolidusPromotions
module OrderRecalculatorDecorator
# This is only needed for stores upgrading from the legacy promotion system.
# Once we've removed support for the legacy promotion system, we can remove this.
def recalculate
if SolidusPromotions.config.sync_order_promotions
MigrationSupport::OrderPromotionSyncer.new(order: order).call
Expand Down

0 comments on commit 44a3a4d

Please sign in to comment.