OnFriendRemove

Description

Once a friend is removed from user's list, this event will be triggered.

@since 1.2

Params

  • eventObject - Stdclass object, passed by reference, consists of the following properties:
  • profileOwnerId - int, owner id that wants to remove the friend.
  • friendId - int, user id that is being removed.

Example

function onFriendRemove( $eventObject ) 
{
	echo $eventObject->profileOwnerId;
        echo '<br />';
        echo $eventObject->friendId;
 
        return true;
}
 
result:
64
63