From 9536d7e8187755bdbdb674838cca131f33fdac40 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sun, 29 Apr 2018 10:35:07 +0100 Subject: [PATCH] Remove unused code --- CRM/Contribute/Form/ContributionPage/Amount.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/CRM/Contribute/Form/ContributionPage/Amount.php b/CRM/Contribute/Form/ContributionPage/Amount.php index d5bf5d5700..fc6486c24f 100644 --- a/CRM/Contribute/Form/ContributionPage/Amount.php +++ b/CRM/Contribute/Form/ContributionPage/Amount.php @@ -423,16 +423,6 @@ class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_Co $errors['payment_processor'] = ts("Financial Account of account relationship of 'Expense Account is' is not configured for Financial Type : ") . $financialType; } - if (!empty($fields['is_recur_interval'])) { - foreach (array_keys($fields['payment_processor']) as $paymentProcessorID) { - $paymentProcessorTypeId = CRM_Core_DAO::getFieldValue( - 'CRM_Financial_DAO_PaymentProcessor', - $paymentProcessorID, - 'payment_processor_type_id' - ); - } - } - return $errors; } -- 2.25.1