From afa799d1c48dc7a932abd6c5da544f6be0244988 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 5 Jun 2022 11:22:03 +1200 Subject: [PATCH] Remove extra validation - per the comments it is a duplicate --- CRM/Contact/Import/Parser/Contact.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 83777cc257..18dc560c43 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -187,13 +187,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { try { $params = $this->getMappedRow($values); - // it is questionable whether we need to do validate here - // - normally it has already been done in the form flow - // and generally only lines that passed that will - // get to the import function. It might be that it - // is really only here cos it used to be combined with getMappedRow - $this->validateParams($params); - $formatted = []; foreach ($params as $key => $value) { if ($value !== '') { -- 2.25.1