Skip to:
Content

BuddyPress.org

Changeset 2556 for trunk/bp-groups.php


Ignore:
Timestamp:
02/03/2010 10:44:26 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1777

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r2548 r2556  
    22572257    do_action( 'groups_ban_member', $user_id, $group_id );
    22582258
    2259     return $member->ban();
     2259    if ( !$member->ban() )
     2260        return false;
     2261
     2262    update_usermeta( $user_id, 'total_group_count', (int)$total_count - 1 );
    22602263}
    22612264
Note: See TracChangeset for help on using the changeset viewer.