Skip to content

Commit

Permalink
Merge pull request #16813 from eileenmcnaughton/deprecated
Browse files Browse the repository at this point in the history
Remove deprecated parameter
  • Loading branch information
colemanw authored Mar 17, 2020
2 parents 7755d70 + ac0c032 commit e1f4a12
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions CRM/Member/BAO/Membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e1f4a12

Please sign in to comment.