From d43caadf5e94b9ed3608c4eda92992810e1f7bf2 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 20 Jan 2023 10:25:23 +1300 Subject: [PATCH] Make otherwise unused form function private --- CRM/Contribute/Form/ContributionBase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index 80a51f4cb9..c31e6ee9af 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -393,7 +393,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { $pledgeId, 'campaign_id' ); - self::authenticatePledgeUser(); + $this->authenticatePledgeUser(); } } $this->set('values', $this->_values); @@ -1052,7 +1052,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { * * @throws \CRM_Core_Exception */ - public function authenticatePledgeUser() { + private function authenticatePledgeUser(): void { //get the userChecksum and contact id $userChecksum = CRM_Utils_Request::retrieve('cs', 'String', $this); $contactID = CRM_Utils_Request::retrieve('cid', 'Positive', $this); -- 2.25.1