X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FPayment.php;h=437d0e5a4e5769dbe0aefdc39197790e4ea9531e;hb=fde268badf7c4489ef5a703a1659b29481f02a33;hp=2e9649aba7d6e96b71c589be13e5b7c330955e44;hpb=c568a9eabd38bb8513d07e628a08d658acd75b65;p=civicrm-core.git diff --git a/api/v3/Payment.php b/api/v3/Payment.php index 2e9649aba7..437d0e5a4e 100644 --- a/api/v3/Payment.php +++ b/api/v3/Payment.php @@ -135,12 +135,6 @@ function civicrm_api3_payment_create($params) { } } } - if (!empty($params['payment_processor'])) { - // I can't find evidence this is passed in - I was gonna just remove it but decided to deprecate as I see getToFinancialAccount - // also anticipates it. - CRM_Core_Error::deprecatedFunctionWarning('passing payment_processor is deprecated - use payment_processor_id'); - $params['payment_processor_id'] = $params['payment_processor']; - } // Check if it is an update if (!empty($params['id'])) { $amount = $params['total_amount'];