From a8d5951baef912c8cfe09cfcfc421241088c2296 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 4 Nov 2014 12:25:30 +1300 Subject: [PATCH] remove now unused function --- CRM/Core/Payment/Form.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/CRM/Core/Payment/Form.php b/CRM/Core/Payment/Form.php index f89058f2e5..34cff2171a 100644 --- a/CRM/Core/Payment/Form.php +++ b/CRM/Core/Payment/Form.php @@ -34,22 +34,6 @@ */ class CRM_Core_Payment_Form { - /** - * Add payment fields are depending on payment type - * @deprecated - use the setPaymentFieldsByProcessor which leverages the processor to determine the fields - * - * @param int $type eg CRM_Core_Payment::PAYMENT_TYPE_DIRECT_DEBIT - * @param CRM_Core_Form $form - */ - static public function setPaymentFieldsByType($type, &$form) { - if ($type & CRM_Core_Payment::PAYMENT_TYPE_DIRECT_DEBIT) { - CRM_Core_Payment_Form::setDirectDebitFields($form); - } - else { - CRM_Core_Payment_Form::setCreditCardFields($form); - } - } - /** * Add payment fields are depending on payment processor -- 2.25.1