CiviCRM

Stop updating all the active records with UpdateMembershipRecord.php.txt

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed/Completed
  • Affects Version/s: 3.1, 3.2
  • Fix Version/s: 3.1.5, 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.

Activity

Hide
Sushant Paste added a comment -
Tested in r27154 ( for - v3.1.5).
Show
Sushant Paste added a comment - Tested in r27154 ( for - v3.1.5).

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: