Skip to:
Content

BuddyPress.org

Changeset 3113


Ignore:
Timestamp:
06/30/2010 05:27:46 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2479 props dnmedia

File:
1 edited

Legend:

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

    r3099 r3113  
    10511051
    10521052        // Get all the group ids for the current user's groups and update counts
    1053         $group_ids = $this->get_group_ids( $user_id );
    1054         foreach ( $group_ids->groups as $group_id ) {
     1053        $group_ids = BP_Groups_Member::get_group_ids( $user_id );
     1054        foreach ( $group_ids['groups'] as $group_id ) {
    10551055            groups_update_groupmeta( $group_id, 'total_member_count', groups_get_total_member_count( $group_id ) - 1 );
    10561056        }
Note: See TracChangeset for help on using the changeset viewer.