Changeset 9815
- Timestamp:
- 04/28/2015 03:50:50 PM (10 years ago)
- Location:
- trunk/src/bp-groups
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-activity.php
r9450 r9815 401 401 groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() ); 402 402 } 403 add_action( 'groups_join_group', 'groups_update_last_activity' ); 403 404 add_action( 'groups_leave_group', 'groups_update_last_activity' ); 404 405 add_action( 'groups_created_group', 'groups_update_last_activity' ); -
trunk/src/bp-groups/bp-groups-functions.php
r9811 r9815 166 166 $member->save(); 167 167 168 groups_update_groupmeta( $group->id, 'last_activity', bp_core_current_time() );169 170 168 /** 171 169 * Fires after the creation of a new group and a group creator needs to be made. … … 194 192 195 193 /** 196 * Fires after the creation o f a group.194 * Fires after the creation or update of a group. 197 195 * 198 196 * @since BuddyPress (1.0.0) … … 501 499 'user_id' => $user_id, 502 500 ) ); 503 504 // Modify group meta505 groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() );506 501 507 502 /**
Note: See TracChangeset
for help on using the changeset viewer.