From df2eb9170bf0f2e5edecc46d346f337e592bcdb7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 7 Apr 2022 14:25:55 +1200 Subject: [PATCH] Remove good intentions No - this isn't a todo we are about to do all of a sudden.... --- CRM/Activity/Import/Parser.php | 4 ---- CRM/Contact/Import/Parser.php | 4 ---- CRM/Contribute/Import/Parser/Contribution.php | 4 ---- CRM/Custom/Import/Parser.php | 4 ---- CRM/Event/Import/Parser.php | 4 ---- CRM/Member/Import/Parser.php | 4 ---- 6 files changed, 24 deletions(-) diff --git a/CRM/Activity/Import/Parser.php b/CRM/Activity/Import/Parser.php index 3846fd9e07..9669df0ff3 100644 --- a/CRM/Activity/Import/Parser.php +++ b/CRM/Activity/Import/Parser.php @@ -186,10 +186,6 @@ abstract class CRM_Activity_Import_Parser extends CRM_Import_Parser { } if ($returnCode & self::DUPLICATE) { - if ($returnCode & self::MULTIPLE_DUPE) { - // TODO: multi-dupes should be counted apart from singles - // on non-skip action. - } $this->_duplicateCount++; $recordNumber = $this->_lineCount; if ($this->_haveColumnHeader) { diff --git a/CRM/Contact/Import/Parser.php b/CRM/Contact/Import/Parser.php index cc354036cb..59068aa950 100644 --- a/CRM/Contact/Import/Parser.php +++ b/CRM/Contact/Import/Parser.php @@ -237,10 +237,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { } if ($returnCode & self::DUPLICATE) { - if ($returnCode & self::MULTIPLE_DUPE) { - /* TODO: multi-dupes should be counted apart from singles - * on non-skip action */ - } $this->_duplicateCount++; array_unshift($values, $this->_rowCount); $this->_duplicates[] = $values; diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index 8a8ca38112..f08b210442 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -335,10 +335,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Import_Parser { } if ($returnCode == self::DUPLICATE) { - if ($returnCode == self::MULTIPLE_DUPE) { - /* TODO: multi-dupes should be counted apart from singles - * on non-skip action */ - } $this->_duplicateCount++; $recordNumber = $this->_lineCount; if ($this->_haveColumnHeader) { diff --git a/CRM/Custom/Import/Parser.php b/CRM/Custom/Import/Parser.php index 68036ecb96..91847a1472 100644 --- a/CRM/Custom/Import/Parser.php +++ b/CRM/Custom/Import/Parser.php @@ -192,10 +192,6 @@ abstract class CRM_Custom_Import_Parser extends CRM_Import_Parser { } if ($returnCode & self::DUPLICATE) { - if ($returnCode & self::MULTIPLE_DUPE) { - /* TODO: multi-dupes should be counted apart from singles - * on non-skip action */ - } $this->_duplicateCount++; $recordNumber = $this->_lineCount; if ($this->_haveColumnHeader) { diff --git a/CRM/Event/Import/Parser.php b/CRM/Event/Import/Parser.php index 59d464b414..ee9f8ba179 100644 --- a/CRM/Event/Import/Parser.php +++ b/CRM/Event/Import/Parser.php @@ -195,10 +195,6 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser { } if ($returnCode & self::DUPLICATE) { - if ($returnCode & self::MULTIPLE_DUPE) { - /* TODO: multi-dupes should be counted apart from singles - * on non-skip action */ - } $this->_duplicateCount++; $recordNumber = $this->_lineCount; if ($this->_haveColumnHeader) { diff --git a/CRM/Member/Import/Parser.php b/CRM/Member/Import/Parser.php index 7397d9a821..767fab7a04 100644 --- a/CRM/Member/Import/Parser.php +++ b/CRM/Member/Import/Parser.php @@ -197,10 +197,6 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser { } if ($returnCode & self::DUPLICATE) { - if ($returnCode & self::MULTIPLE_DUPE) { - /* TODO: multi-dupes should be counted apart from singles - * on non-skip action */ - } $this->_duplicateCount++; $recordNumber = $this->_lineCount; array_unshift($values, $recordNumber); -- 2.25.1