From 4ed92e9175b50bc313a035b98af140ab68508f1b Mon Sep 17 00:00:00 2001 From: eileen Date: Mon, 18 Jun 2018 09:51:52 +1200 Subject: [PATCH] Stop passing no-longer-part-of-signature variable --- CRM/Contact/Form/Contact.php | 2 +- CRM/Contribute/BAO/Contribution.php | 2 +- CRM/Member/BAO/Membership.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Contact/Form/Contact.php b/CRM/Contact/Form/Contact.php index b78eb31383ad..4c23815e3c66 100644 --- a/CRM/Contact/Form/Contact.php +++ b/CRM/Contact/Form/Contact.php @@ -1461,7 +1461,7 @@ public function updateMembershipStatus($deceasedParams) { 'max_related' => $dao->max_related, ); - CRM_Member_BAO_MembershipLog::add($membershipLog, CRM_Core_DAO::$_nullArray); + CRM_Member_BAO_MembershipLog::add($membershipLog); //create activity when membership status is changed $activityParam = array( diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index a23eb05a59bb..6d8f3de6dd9c 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -1967,7 +1967,7 @@ public static function transitionComponents($params, $processContributionObject $membershipLog['modified_date'] = date('Ymd'); $membershipLog['membership_type_id'] = $membership->membership_type_id; - CRM_Member_BAO_MembershipLog::add($membershipLog, CRM_Core_DAO::$_nullArray); + CRM_Member_BAO_MembershipLog::add($membershipLog); //update related Memberships. CRM_Member_BAO_Membership::updateRelatedMemberships($membership->id, $formattedParams); diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index ce6df5a60591..1826901429c0 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -134,7 +134,7 @@ public static function add(&$params, $ids = array()) { $membershipLog['modified_id'] = $membership->contact_id; } - CRM_Member_BAO_MembershipLog::add($membershipLog, CRM_Core_DAO::$_nullArray); + CRM_Member_BAO_MembershipLog::add($membershipLog); // reset the group contact cache since smart groups might be affected due to this CRM_Contact_BAO_GroupContactCache::opportunisticCacheFlush(); @@ -1233,7 +1233,7 @@ public static function fixMembershipStatusBeforeRenew(&$currentMembership, $chan ) ); - CRM_Member_BAO_MembershipLog::add($logParams, CRM_Core_DAO::$_nullArray); + CRM_Member_BAO_MembershipLog::add($logParams); } }