From f0669a3d58d9f9b6f30eab19d91f44d715270a3c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 17 May 2021 17:19:29 +1200 Subject: [PATCH] Remove extraneous debug We added this a while back when we were getting reports of an error that we couldn't track down. We never got feedback of these lines appearing in the logs and the error appears to be otherwise solved so I think the debug adds more confusion & has not proven helpful --- CRM/Core/Payment/PayPalIPN.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CRM/Core/Payment/PayPalIPN.php b/CRM/Core/Payment/PayPalIPN.php index c0826c72b4..29d7587527 100644 --- a/CRM/Core/Payment/PayPalIPN.php +++ b/CRM/Core/Payment/PayPalIPN.php @@ -267,15 +267,6 @@ class CRM_Core_Payment_PayPalIPN extends CRM_Core_Payment_BaseIPN { Civi::log()->debug('PayPalIPN: Will attempt to compensate'); $input['membership_id'] = $this->retrieve('membershipID', 'Integer', FALSE); } - if ($this->getContributionRecurID()) { - $recurLinks = civicrm_api3('ContributionRecur', 'get', [ - 'membership_id' => $membershipID, - 'contribution_recur_id' => $this->getContributionRecurID(), - ]); - Civi::log()->debug('PayPalIPN: Membership should be linked to contribution recur record ' . $this->getContributionRecurID() - . ' ' . $recurLinks['count'] . 'links found' - ); - } } $contribution = $this->getContribution(); -- 2.25.1