From: eileen Date: Tue, 17 Mar 2020 00:07:47 +0000 (+1300) Subject: Remove deprecated parameter X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ac0c0323e0e3dfb3fa41a69c54d5909c8f1000c7;p=civicrm-core.git Remove deprecated parameter This parameter was deprecated a while back - we obviously used caution at the time but we can remove it now --- diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index a8265b8a67..ce16334c3a 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -2389,17 +2389,12 @@ WHERE civicrm_membership.is_test = 0 * * @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();