Skip to:
Content

BuddyPress.org

Changeset 7629


Ignore:
Timestamp:
11/30/2013 07:21:38 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Make $friendship an optional parameter to avoid debug notices and maintain backwards compatibility. See #5266.

File:
1 edited

Legend:

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

    r7619 r7629  
    112112 * @param int $initiator_user_id
    113113 * @param int $friend_user_id
    114  * @param object $friendship
     114 * @param object $friendship Optional
    115115 */
    116 function bp_friends_friendship_accepted_activity( $friendship_id, $initiator_user_id, $friend_user_id, $friendship ) {
     116function bp_friends_friendship_accepted_activity( $friendship_id, $initiator_user_id, $friend_user_id, $friendship = false ) {
    117117
    118118    // Bail if Activity component is not active
Note: See TracChangeset for help on using the changeset viewer.