remove now unused function
authorEileen McNaughton <eileen@fuzion.co.nz>
Mon, 3 Nov 2014 23:25:30 +0000 (12:25 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 3 Nov 2014 23:25:30 +0000 (12:25 +1300)
CRM/Core/Payment/Form.php

index f89058f2e5ee399d1e832182307e7e840d48a6b5..34cff2171afe6a21d28a39a0ccc3d01ee40ecb62 100644 (file)
  */
 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