From ac0c0323e0e3dfb3fa41a69c54d5909c8f1000c7 Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 17 Mar 2020 13:07:47 +1300 Subject: [PATCH] Remove deprecated parameter This parameter was deprecated a while back - we obviously used caution at the time but we can remove it now --- CRM/Member/BAO/Membership.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index a8265b8a67b6..ce16334c3a96 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -2389,17 +2389,12 @@ public static function getAllContactMembership($contactID, $isTest = FALSE, $onl * * @param array $params * Array of submitted params. - * @param array $ids - * (@return CRM_Contribute_BAO_Contribution * * @return CRM_Contribute_BAO_Contribution * @throws \CRM_Core_Exception * @throws \CiviCRM_API3_Exception */ - public static function recordMembershipContribution(&$params, $ids = []) { - if (!empty($ids)) { - CRM_Core_Error::deprecatedFunctionWarning('no $ids array'); - } + public static function recordMembershipContribution(&$params) { $membershipId = $params['membership_id']; $contributionParams = []; $config = CRM_Core_Config::singleton();