Changeset 7556 for trunk/bp-friends/bp-friends-cache.php
- Timestamp:
- 11/10/2013 02:43:45 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends/bp-friends-cache.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-cache.php
r7537 r7556 2 2 3 3 /** 4 * BuddyPress Friends Caching 4 * BuddyPress Friends Caching. 5 5 * 6 6 * Caching functions handle the clearing of cached objects and pages on specific … … 15 15 if ( !defined( 'ABSPATH' ) ) exit; 16 16 17 /** 18 * Clear friends-related cache for members of a specific friendship. 19 * 20 * @param int $friendship_id ID of the friendship whose two members should 21 * have their friends cache busted. 22 */ 17 23 function friends_clear_friend_object_cache( $friendship_id ) { 18 24 if ( !$friendship = new BP_Friends_Friendship( $friendship_id ) ) … … 23 29 } 24 30 31 /** 32 * Clear friend-related notifications when ?new=1. 33 */ 25 34 function friends_clear_friend_notifications() { 26 35 if ( isset( $_GET['new'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.