Changeset 11101 for trunk/src/bp-activity/bp-activity-cache.php
- Timestamp:
- 09/14/2016 02:06:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-cache.php
r11077 r11101 76 76 */ 77 77 function bp_activity_reset_cache_incrementor() { 78 return bp_core_reset_incrementor( 'bp_activity' ); 78 $without_last_activity = bp_core_reset_incrementor( 'bp_activity' ); 79 $with_last_activity = bp_core_reset_incrementor( 'bp_activity_with_last_activity' ); 80 return $without_last_activity && $with_last_activity; 79 81 } 80 82 add_action( 'bp_activity_delete', 'bp_activity_reset_cache_incrementor' );
Note: See TracChangeset
for help on using the changeset viewer.