From 9620b8b54f69c875e8ba53658fba33c6efef7672 Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Tue, 9 Mar 2021 15:06:39 -0500 Subject: [PATCH] [REF] remove unused code in recordFinancialAccounts --- CRM/Contribute/BAO/Contribution.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 9902b0c165..5c1b3034ac 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -3458,10 +3458,6 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $trxnParams['payment_processor_id'] = $params['payment_processor']; } - if (isset($fromFinancialAccountId)) { - $trxnParams['from_financial_account_id'] = $fromFinancialAccountId; - } - // consider external values passed for recording transaction entry if (!empty($financialTrxnValues)) { $trxnParams = array_merge($trxnParams, $financialTrxnValues); -- 2.25.1