From c96de2d6cc8dac4200c39b257cc9292c3fa85e8f Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 24 Nov 2020 16:18:09 +1300 Subject: [PATCH] Remove some deprecated code This was deprecated over a year ago just in case anyone was passing in the legacy param - fully removing now --- CRM/Financial/BAO/Payment.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Financial/BAO/Payment.php b/CRM/Financial/BAO/Payment.php index 44840e408c..6642379d62 100644 --- a/CRM/Financial/BAO/Payment.php +++ b/CRM/Financial/BAO/Payment.php @@ -61,10 +61,6 @@ class CRM_Financial_BAO_Payment { $paymentTrxnParams['payment_instrument_id'] = $contribution['payment_instrument_id']; } } - if (empty($paymentTrxnParams['trxn_id']) && !empty($paymentTrxnParams['contribution_trxn_id'])) { - CRM_Core_Error::deprecatedFunctionWarning('contribution_trxn_id is deprecated - use trxn_id'); - $paymentTrxnParams['trxn_id'] = $paymentTrxnParams['contribution_trxn_id']; - } $paymentTrxnParams['currency'] = $contribution['currency']; -- 2.25.1