Changeset 10323 for trunk/src/bp-friends/bp-friends-cache.php
- Timestamp:
- 11/02/2015 02:07:44 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-cache.php
r10147 r10323 18 18 * @param int $friendship_id ID of the friendship whose two members should 19 19 * have their friends cache busted. 20 *21 20 * @return bool 22 21 */ … … 29 28 } 30 29 31 // List actions to clear object caches on 30 // List actions to clear object caches on. 32 31 add_action( 'friends_friendship_accepted', 'friends_clear_friend_object_cache' ); 33 32 add_action( 'friends_friendship_deleted', 'friends_clear_friend_object_cache' ); … … 69 68 * 70 69 * @param int $friendship_id The friendship ID. 71 * @param BP_Friends_Friendship $friendship 70 * @param BP_Friends_Friendship $friendship Friendship object. 72 71 */ 73 72 function bp_friends_clear_request_cache_on_remove( $friendship_id, BP_Friends_Friendship $friendship ) { … … 77 76 add_action( 'friends_friendship_rejected', 'bp_friends_clear_request_cache_on_remove', 10, 2 ); 78 77 79 // List actions to clear super cached pages on, if super cache is installed 78 // List actions to clear super cached pages on, if super cache is installed. 80 79 add_action( 'friends_friendship_rejected', 'bp_core_clear_cache' ); 81 80 add_action( 'friends_friendship_accepted', 'bp_core_clear_cache' );
Note: See TracChangeset
for help on using the changeset viewer.