Skip to:
Content

BuddyPress.org

Changeset 2925 for trunk/bp-groups.php


Ignore:
Timestamp:
04/15/2010 11:59:40 AM (14 years ago)
Author:
apeatling
Message:

Merging 1.2 branch with trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r2919 r2925  
    492492
    493493    if ( $bp->is_single_item ) {
     494        /* Refresh the group member count meta */
     495        groups_update_groupmeta( $bp->groups->current_group->id, 'total_member_count', groups_get_total_member_count( $bp->groups->current_group->id ) );
     496
    494497        do_action( 'groups_screen_group_members', $bp->groups->current_group->id );
    495498        bp_core_load_template( apply_filters( 'groups_template_group_members', 'groups/single/home' ) );
     
    16501653}
    16511654
     1655function groups_get_total_member_count( $group_id ) {
     1656    return BP_Groups_Group::get_total_member_count( $group_id );
     1657}
     1658
    16521659/*** Group Fetching, Filtering & Searching  *************************************/
    16531660
Note: See TracChangeset for help on using the changeset viewer.