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 unused alias_attribute raising deprecation message (#11976)

Fernando Valverdee6520b510a9c
diff --git a/core/app/models/spree/store.rb b/core/app/models/spree/store.rb
index 0d38ea0939..098834ac75 100644
--- a/core/app/models/spree/store.rb
+++ b/core/app/models/spree/store.rb
@@ -109,8 +109,6 @@ module Spree
after_commit :clear_cache
- alias_attribute :contact_email, :customer_support_email
-
def self.current(url = nil)
Spree::Deprecation.warn(<<-DEPRECATION, caller)
`Spree::Store.current` is deprecated and will be removed in Spree 5.0