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

Add users to Organic Groups using correct function call

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: Unscheduled
    • Component/s: None

      Description

      When users are added and removed to organic groups via the civicrm_og_sync module, they are added using a called to og_membership_create(). This adds them as a member, but subsequently makes it impossible to remove them from the group via the OG interface.

      A call to og_group() and og_ungroup() for adding a removing users respectively fixes this issue, and is a better function to use in this case.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: