Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/21/2010 04:44:10 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2591 props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-groups.php

    r3207 r3208  
    869869
    870870            // Remove a user.
    871             if ( !groups_leave_group( $bp->groups->current_group->id, $user_id ) )
     871            if ( !groups_remove_member( $bp->groups->current_group->id, $user_id ) )
    872872                bp_core_add_message( __( 'There was an error removing that user from the group, please try again', 'buddypress' ), 'error' );
    873873            else
Note: See TracChangeset for help on using the changeset viewer.