From a3ed13aa2dbeae5a313ecf2ad93814bee79d157b Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 19 Apr 2023 10:02:57 +0100 Subject: [PATCH] Remove redundant mappings --- app/services/imports/sales_logs_import_service.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/services/imports/sales_logs_import_service.rb b/app/services/imports/sales_logs_import_service.rb index 39bd6a917..c48543639 100644 --- a/app/services/imports/sales_logs_import_service.rb +++ b/app/services/imports/sales_logs_import_service.rb @@ -126,10 +126,6 @@ module Imports attributes["postcode_full"] = parse_postcode(string_or_nil(xml_doc, "Q14Postcode")) attributes["pcodenk"] = 0 if attributes["postcode_full"].present? # known if given attributes["soctenant"] = 0 if attributes["ownershipsch"] == 1 - attributes["ethnic_group2"] = nil # 23/24 variable - attributes["ethnicbuy2"] = nil # 23/24 variable - attributes["prevshared"] = nil # 23/24 variable - attributes["staircasesale"] = nil # 23/24 variable attributes["previous_la_known"] = 1 if attributes["prevloc"].present? if attributes["la"].present?