diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-23 22:30:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-23 22:30:38 +0000 |
commit | b9dba608b5e72f55754ef1abd17753a31f4bcc07 (patch) | |
tree | ef3c0474cd9058f17cca38bcd837752779b318c7 /mod/tabbed_profile/views/default/profile/tabs/friends.php | |
parent | 302e5136f804aaa7d6bebb133767bfcbda249564 (diff) | |
download | elgg-b9dba608b5e72f55754ef1abd17753a31f4bcc07.tar.gz elgg-b9dba608b5e72f55754ef1abd17753a31f4bcc07.tar.bz2 |
using new list methods in tabbed profile plugin
git-svn-id: http://code.elgg.org/elgg/trunk@7716 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/tabbed_profile/views/default/profile/tabs/friends.php')
-rwxr-xr-x | mod/tabbed_profile/views/default/profile/tabs/friends.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/tabbed_profile/views/default/profile/tabs/friends.php b/mod/tabbed_profile/views/default/profile/tabs/friends.php index 8b3171405..0871d3e3a 100755 --- a/mod/tabbed_profile/views/default/profile/tabs/friends.php +++ b/mod/tabbed_profile/views/default/profile/tabs/friends.php @@ -3,13 +3,7 @@ * Profile friends */ -$options = array( - 'relationship_guid' => $vars['entity']->getGUID(), - 'relationship' => 'friend', - 'inverse_relationship' => false, - 'full_view' => false, -); -$friends = elgg_list_entities_from_relationship($options); +$friends = $vars['entity']->listFriends(); if (!$friends) { $friends = '<p>' . elgg_echo('profile:no_friends') . '</p>'; |