Skip to content

Commit

Permalink
Remove config to toggle Address name fields behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
filippoliverani committed Nov 6, 2020
1 parent d984186 commit 8668f44
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ Spree.config do |config|
# from address for transactional emails
config.mails_from = "store@example.com"

# Use combined first and last name attribute in HTML views and API responses
config.use_combined_first_and_last_name_in_address = true

# Use legacy Spree::Order state machine
config.use_legacy_order_state_machine = false

Expand Down
4 changes: 0 additions & 4 deletions core/lib/spree/app_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,6 @@ class AppConfiguration < Preferences::Configuration
# @return [] Track on_hand values for variants / products. (default: true)
preference :track_inventory_levels, :boolean, default: true

# @!attribute [rw] use_combined_first_and_last_name_in_address
# @return [Boolean] Use Spree::Address combined first and last name in HTML views and
# API responses. (default: +false+)
preference :use_combined_first_and_last_name_in_address, :boolean, default: false

# @!attribute [rw] use_legacy_order_state_machine
# @return [Boolean] Uses the legacy order state machine from Spree::Order::Checkout
Expand Down
1 change: 0 additions & 1 deletion core/lib/spree/testing_support/dummy_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ class Application < ::Rails::Application
config.raise_with_invalid_currency = false
config.redirect_back_on_unauthorized = true
config.run_order_validations_on_order_updater = true
config.use_combined_first_and_last_name_in_address = true
config.use_legacy_order_state_machine = false
config.use_custom_cancancan_actions = false
config.consider_actionless_promotion_active = false
Expand Down

0 comments on commit 8668f44

Please sign in to comment.