Skip to:
Content

BuddyPress.org

Ticket #5293: 5293.diff

File 5293.diff, 752 bytes (added by imath, 10 years ago)
  • bp-friends/bp-friends-notifications.php

     
    293293                bp_notifications_delete_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, buddypress()->friends->id, 'friendship_request' );
    294294        }
    295295}
    296 add_action( 'friends_friendship_withdrawn', 'bp_friends_mark_friendship_withdrawn_notifications_by_item_id', 10, 2 );
     296add_action( 'friends_friendship_whithdrawn', 'bp_friends_mark_friendship_withdrawn_notifications_by_item_id', 10, 2 );
    297297
    298298/**
    299299 * Remove friendship requests FROM user, used primarily when a user is deleted