Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.1, 3.2
-
Component/s: CiviMember
-
Labels:None
Description
The UpdateMembershipRecord.php.txt runs the membership status update on all records that are not cancelled, expired, pending or overridden (essentially all active memberships plus a couple others) even if the status doesn't change. This patch only runs the update if the status changes, this will reduce the workload and stops updates being added the the civicrm_membership_log table when there has been no change in the record.