From 2a7dbe1d3aa65d206d912fc4a167364f1ad3aa3a Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 7 Apr 2022 10:53:52 +1200 Subject: [PATCH] Remove unused private variables --- CRM/Contribute/Import/Parser/Contribution.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index a8a98ef50d..e6382e26c1 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -23,8 +23,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa protected $_mapperKeys; private $_contactIdIndex; - private $_totalAmountIndex; - private $_contributionTypeIndex; protected $_mapperSoftCredit; //protected $_mapperPhoneType; @@ -97,8 +95,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa // FIXME: we should do this in one place together with Form/MapField.php $this->_contactIdIndex = -1; - $this->_totalAmountIndex = -1; - $this->_contributionTypeIndex = -1; $index = 0; foreach ($this->_mapperKeys as $key) { @@ -107,13 +103,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa $this->_contactIdIndex = $index; break; - case 'total_amount': - $this->_totalAmountIndex = $index; - break; - - case 'financial_type': - $this->_contributionTypeIndex = $index; - break; } $index++; } -- 2.25.1