From 639a8200b59c8eeb6f31e40d0d51b0118ba0dbb2 Mon Sep 17 00:00:00 2001 From: JG Date: Tue, 26 Jul 2022 11:01:42 +0100 Subject: [PATCH] redundant method - part 3 --- app/models/form/question.rb | 1 - app/models/form/setup/questions/location_id.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/form/question.rb b/app/models/form/question.rb index 74478880c..2f7cad859 100644 --- a/app/models/form/question.rb +++ b/app/models/form/question.rb @@ -4,7 +4,6 @@ class Form::Question :conditional_for, :readonly, :answer_options, :page, :check_answer_label, :inferred_answers, :hidden_in_check_answers, :inferred_check_answers_value, :guidance_partial, :prefix, :suffix, :requires_js, :fields_added, :derived, - :extra_check_answer_value def initialize(id, hsh, page) @id = id diff --git a/app/models/form/setup/questions/location_id.rb b/app/models/form/setup/questions/location_id.rb index a651b3b90..cc8e1daf6 100644 --- a/app/models/form/setup/questions/location_id.rb +++ b/app/models/form/setup/questions/location_id.rb @@ -5,7 +5,6 @@ class Form::Setup::Questions::LocationId < ::Form::Question @header = "Which location is this log for?" @hint_text = "" @type = "radio" - @extra_check_answer_value = "location_admin_district" @answer_options = answer_options @inferred_answers = { "location.name": {