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.

Fixed: remove double include of Stock Location security module

Damian Legawiec5eec164fffaf
diff --git a/core/app/models/spree/stock_location.rb b/core/app/models/spree/stock_location.rb
index c9b26fc07c..822410f173 100644
--- a/core/app/models/spree/stock_location.rb
+++ b/core/app/models/spree/stock_location.rb
@@ -7,9 +7,6 @@ module Spree
if defined?(Spree::Security::StockLocations)
include Spree::Security::StockLocations
end
- if defined?(Spree::Security::StockLocations)
- include Spree::Security::StockLocations
- end
if defined?(Spree::VendorConcern)
include Spree::VendorConcern
end