Skip to content

Commit

Permalink
Chore: remove remaining home address feature flag code
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldstone93 authored and naseberry committed Sep 6, 2024
1 parent 7440a8b commit 9216939
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion app/controllers/admin/settings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def form_params
:enable_ccms_submission,
:linked_applications,
:collect_hmrc_data,
:home_address,
:special_childrens_act)
end

Expand Down
2 changes: 0 additions & 2 deletions app/forms/settings/setting_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class SettingForm < BaseForm
:enable_ccms_submission,
:linked_applications,
:collect_hmrc_data,
:home_address,
:special_childrens_act

validates :mock_true_layer_data,
Expand All @@ -17,7 +16,6 @@ class SettingForm < BaseForm
:enable_ccms_submission,
:linked_applications,
:collect_hmrc_data,
:home_address,
:special_childrens_act,
presence: true
end
Expand Down
10 changes: 0 additions & 10 deletions app/views/admin/settings/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@
legend: { text: t(".labels.collect_hmrc_data") },
) %>

<%= form.govuk_collection_radio_buttons(
:home_address,
yes_no_options,
:value,
:label,
inline: true,
hint: { text: t(".hints.home_address") },
legend: { text: t(".labels.home_address") },
) %>

<%= form.govuk_collection_radio_buttons(
:special_childrens_act,
yes_no_options,
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en/admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ en:
enable_evidence_upload: Enable the new evidence upload feature
linked_applications: Enable linking and copying cases
collect_hmrc_data: Collect HMRC data
home_address: Enable home and 'care of' address
special_childrens_act: Enable Special Childrens Act
hints:
mock_true_layer_data: Select Yes and TrueLayer data will be replaced by mock data from %{bank_transaction_filename}
Expand All @@ -86,7 +85,6 @@ en:
enable_evidence_upload: Select Yes to enable the new evidence upload feature for solicitors
linked_applications: Select Yes to enable the linking and copying cases feature for solicitors
collect_hmrc_data: Select Yes to enable calls to HMRC for employment data
home_address: Select Yes to enable the home address and care of feature for solicitors
special_childrens_act: Select Yes to enable the special childrens act matter type
update:
notice: Settings have been updated
Expand Down

0 comments on commit 9216939

Please sign in to comment.