Changeset 3113
- Timestamp:
- 06/30/2010 05:27:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-groups/bp-groups-classes.php
r3099 r3113 1051 1051 1052 1052 // 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 ->groupsas $group_id ) {1053 $group_ids = BP_Groups_Member::get_group_ids( $user_id ); 1054 foreach ( $group_ids['groups'] as $group_id ) { 1055 1055 groups_update_groupmeta( $group_id, 'total_member_count', groups_get_total_member_count( $group_id ) - 1 ); 1056 1056 }
Note: See TracChangeset
for help on using the changeset viewer.