OnFriendRemove

Revision as of 18:35, 18 January 2013 by Sinisakrisan (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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