Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#2591 closed defect (bug) (fixed)

Changeset 3200 - groups_leave_group() should be groups_remove_member()

Reported by: r-a-y's profile r-a-y Owned by:
Milestone: 1.2.6 Priority: normal
Severity: Version:
Component: Groups Keywords:
Cc:

Description

In [3200] on line 871, !groups_leave_group() should be !groups_remove_member().

Remnant from my hack job ;)

Change History (2)

#1 @r-a-y
14 years ago

Should be:

if ( !groups_remove_member( $user_id, $bp->groups->current_group->id ) )

Instead of:

if ( !groups_leave_group( $bp->groups->current_group->id, $user_id ) )


#2 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3208]) Fixes #2591 props r-a-y

Note: See TracTickets for help on using tickets.