Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Remove duplicated deprecation warnings (#11674)

Waris Ali134164a02cb7
diff --git a/core/app/finders/spree/products/find.rb b/core/app/finders/spree/products/find.rb
index 53309b0743..320f6d47c0 100644
--- a/core/app/finders/spree/products/find.rb
+++ b/core/app/finders/spree/products/find.rb
@@ -4,8 +4,6 @@ module Spree
def initialize(scope:, params:, current_currency: nil)
@scope = scope
- ActiveSupport::Deprecation.warn('`current_currency` param is deprecated and will be removed in Spree 5') if current_currency
-
if current_currency.present?
ActiveSupport::Deprecation.warn(<<-DEPRECATION, caller)
`current_currency` param is deprecated and will be removed in Spree 5.