Skip to:
Content

BuddyPress.org

Changeset 1564


Ignore:
Timestamp:
06/22/2009 08:24:23 PM (12 years ago)
Author:
apeatling
Message:

Fixes #785 & #786

File:
1 edited

Legend:

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

    r1522 r1564  
    17871787        return false;
    17881788
    1789     do_action( 'groups_leave_group', $group_id, $bp->loggedin_user->id );
     1789    do_action( 'groups_leave_group', $group_id, $user_id );
    17901790
    17911791    /* Modify group member count */
     
    18271827    groups_update_groupmeta( $group_id, 'last_activity', time() );
    18281828
    1829     do_action( 'groups_join_group', $group_id, $bp->loggedin_user->id );
     1829    do_action( 'groups_join_group', $group_id, $user_id );
    18301830
    18311831    return true;
Note: See TracChangeset for help on using the changeset viewer.