Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6125

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

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              jalama Jim Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: