From 7ca87aa3906bc3f91165be5a1c985c95b256e123 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 25 May 2021 16:32:22 +1200 Subject: [PATCH] [REF] Remove now-unused params --- CRM/Core/Payment/PayPalProIPN.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/CRM/Core/Payment/PayPalProIPN.php b/CRM/Core/Payment/PayPalProIPN.php index 6a4771be7d..c87061ecfe 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -345,14 +345,11 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN { // CRM-13737 - am not aware of any reason why payment_date would not be set - this if is a belt & braces $contribution->receive_date = !empty($input['payment_date']) ? date('YmdHis', strtotime($input['payment_date'])) : $now; - $this->single($input, $contribution, TRUE, $first); + $this->single($input); } /** * @param array $input - * @param \CRM_Contribute_BAO_Contribution $contribution - * @param bool $recur - * @param bool $first * * @return void * @throws \API_Exception @@ -360,7 +357,7 @@ class CRM_Core_Payment_PayPalProIPN extends CRM_Core_Payment_BaseIPN { * @throws \CiviCRM_API3_Exception * @throws \Civi\API\Exception\UnauthorizedException */ - public function single($input, $contribution, $recur = FALSE, $first = FALSE) { + public function single($input) { // make sure the invoice is valid and matches what we have in the contribution record if (!$this->isContributionCompleted()) { @@ -527,7 +524,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr return; } - $this->single($input, $contribution, FALSE, FALSE); + $this->single($input); } catch (CRM_Core_Exception $e) { Civi::log()->debug($e->getMessage() . ' input {input}', ['input' => $input]); -- 2.25.1