Changeset 6179
- Timestamp:
- 07/16/2012 04:08:02 PM (13 years ago)
- Location:
- trunk/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cache.php
r6093 r6179 55 55 add_action( 'bp_core_process_spammer_status', 'bp_core_clear_member_count_caches' ); 56 56 add_action( 'bp_core_deleted_account', 'bp_core_clear_member_count_caches' ); 57 add_action( 'bp_first_activity_for_member', 'bp_core_clear_member_count_caches' ); 57 58 58 59 /** -
trunk/bp-core/bp-core-functions.php
r6131 r6179 498 498 // Get current time 499 499 $current_time = bp_core_current_time(); 500 501 // Use this action to detect the very first activity for a given member 502 if ( empty( $activity ) ) { 503 do_action( 'bp_first_activity_for_member', $user_id ); 504 } 500 505 501 506 if ( empty( $activity ) || strtotime( $current_time ) >= strtotime( '+5 minutes', $activity ) )
Note: See TracChangeset
for help on using the changeset viewer.