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

Remove call to flush group_contact cache from profile create function

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.7.7
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      CRM_Contact_BAO_GroupContactCache::remove(); is called from the createProfileContact function, but it is also called from the contact::create function - which is a few lines earlier.

      The actual harm in this is limited by the static caching within the function. But it is confusing, extra code and it really is much more appropriate to call this function from with the relevant BAO calls.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: