Changeset 7172
- Timestamp:
- 06/06/2013 11:24:38 PM (11 years ago)
- Location:
- trunk/bp-groups
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-actions.php
r6389 r7172 80 80 bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . bp_get_groups_current_create_step() . '/' ); 81 81 } 82 83 groups_update_groupmeta( $bp->groups->new_group_id, 'total_member_count', 1 );84 groups_update_groupmeta( $bp->groups->new_group_id, 'last_activity', bp_core_current_time() );85 82 } 86 83 -
trunk/bp-groups/bp-groups-functions.php
r7154 r7172 123 123 $member->date_modified = bp_core_current_time(); 124 124 $member->save(); 125 126 groups_update_groupmeta( $group->id, 'total_member_count', 1 ); 127 groups_update_groupmeta( $group->id, 'last_activity', bp_core_current_time() ); 125 128 126 129 do_action( 'groups_create_group', $group->id, $member, $group );
Note: See TracChangeset
for help on using the changeset viewer.