relationship)
{
// Friending
case 'friend' :
case 'friends' : // 'friends' shouldn't be used, but just incase :)
// Get second object
$userb = get_entity($object->guid_two);
// Only users can be friends
if (($performed_by instanceof ElggUser) && ($userb instanceof ElggUser))
{
// User A
echo "getURL()}\">{$performed_by->name} ";
// Verb
echo elgg_echo('river:relationship:friend');
// user B
echo " getURL()}\">{$userb->name}";
}
break;
}
}
?>