Stop passing no-longer-part-of-signature variable
authoreileen <emcnaughton@wikimedia.org>
Sun, 17 Jun 2018 21:51:52 +0000 (09:51 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 17 Jun 2018 21:52:04 +0000 (09:52 +1200)
CRM/Contact/Form/Contact.php
CRM/Contribute/BAO/Contribution.php
CRM/Member/BAO/Membership.php

index b78eb31383ade9393323b9c6a1e62657ea00b101..4c23815e3c66e6a6eda8426ef15b13a526f16a95 100644 (file)
@@ -1461,7 +1461,7 @@ class CRM_Contact_Form_Contact extends CRM_Core_Form {
           '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(
index a23eb05a59bbd673f41228b96873bc2226731f55..6d8f3de6dd9cc174e69a846c99e9dc2d817f759d 100644 (file)
@@ -1967,7 +1967,7 @@ LEFT JOIN  civicrm_contribution contribution ON ( componentPayment.contribution_
             $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);
index ce6df5a60591540670789f03dc7667d3b424ca10..1826901429c0c729392492391a4e8c5ec0ab11fb 100644 (file)
@@ -134,7 +134,7 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership {
       $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 @@ AND civicrm_membership.is_test = %2";
         )
       );
 
-      CRM_Member_BAO_MembershipLog::add($logParams, CRM_Core_DAO::$_nullArray);
+      CRM_Member_BAO_MembershipLog::add($logParams);
     }
   }