Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/10/2013 02:43:45 AM (12 years ago)
Author:
boonebgorges
Message:

Improve inline docs in bp-friends. See #5022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-cache.php

    r7537 r7556  
    22
    33/**
    4  * BuddyPress Friends Caching
     4 * BuddyPress Friends Caching.
    55 *
    66 * Caching functions handle the clearing of cached objects and pages on specific
     
    1515if ( !defined( 'ABSPATH' ) ) exit;
    1616
     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 */
    1723function friends_clear_friend_object_cache( $friendship_id ) {
    1824    if ( !$friendship = new BP_Friends_Friendship( $friendship_id ) )
     
    2329}
    2430
     31/**
     32 * Clear friend-related notifications when ?new=1.
     33 */
    2534function friends_clear_friend_notifications() {
    2635    if ( isset( $_GET['new'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.