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.

Removed `Spree::Config.searcher_class`

Damian Legawiecdb6d23dcddcf
diff --git a/core/lib/spree/core/configuration.rb b/core/lib/spree/core/configuration.rb
index a6f80d9761..e634fe36d1 100644
--- a/core/lib/spree/core/configuration.rb
+++ b/core/lib/spree/core/configuration.rb
@@ -69,11 +69,6 @@ module Spree
preference :storefront_taxons_path, :string, default: 't'
preference :storefront_pages_path, :string, default: 'pages'
- # searcher_class allows spree extension writers to provide their own Search class
- def searcher_class
- Spree::Deprecation.warn('`Spree::Config.searcher_class` is deprecated and will be removed in Spree v5, please use `Spree.searcher_class` instead.')
- @searcher_class ||= Spree.searcher_class
- end
attr_writer :searcher_class
end