Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/02/2015 02:07:44 AM (9 years ago)
Author:
tw2113
Message:

More docs cleanup for Friends component.

See #6400.

File:
1 edited

Legend:

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

    r10147 r10323  
    1818 * @param int $friendship_id ID of the friendship whose two members should
    1919 *                           have their friends cache busted.
    20  *
    2120 * @return bool
    2221 */
     
    2928}
    3029
    31 // List actions to clear object caches on
     30// List actions to clear object caches on.
    3231add_action( 'friends_friendship_accepted', 'friends_clear_friend_object_cache' );
    3332add_action( 'friends_friendship_deleted',  'friends_clear_friend_object_cache' );
     
    6968 *
    7069 * @param int                   $friendship_id The friendship ID.
    71  * @param BP_Friends_Friendship $friendship
     70 * @param BP_Friends_Friendship $friendship Friendship object.
    7271 */
    7372function bp_friends_clear_request_cache_on_remove( $friendship_id, BP_Friends_Friendship $friendship ) {
     
    7776add_action( 'friends_friendship_rejected',  'bp_friends_clear_request_cache_on_remove', 10, 2 );
    7877
    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.
    8079add_action( 'friends_friendship_rejected',  'bp_core_clear_cache' );
    8180add_action( 'friends_friendship_accepted',  'bp_core_clear_cache' );
Note: See TracChangeset for help on using the changeset viewer.