aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/relationship/friend
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 20:00:37 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 20:00:37 +0000
commitf22b65ccceb95ae55619f34f04bb9955ff07574e (patch)
treeff48179c2bdd6c64784bb5d0ed50d2c4877a2916 /views/default/river/relationship/friend
parent241e22f5c219dde0b1352f26dbb651c2f564913c (diff)
downloadelgg-f22b65ccceb95ae55619f34f04bb9955ff07574e.tar.gz
elgg-f22b65ccceb95ae55619f34f04bb9955ff07574e.tar.bz2
Converted all uses of profile/icon in core + plugins to elgg_view_entity_icon
git-svn-id: http://code.elgg.org/elgg/trunk@8471 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/relationship/friend')
-rw-r--r--views/default/river/relationship/friend/create.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/river/relationship/friend/create.php b/views/default/river/relationship/friend/create.php
index 5392105d6..4fbd7b01a 100644
--- a/views/default/river/relationship/friend/create.php
+++ b/views/default/river/relationship/friend/create.php
@@ -10,8 +10,8 @@ $params = array(
'text' => $object->name,
);
$object_link = elgg_view('output/url', $params);
-$subject_icon = elgg_view("profile/icon", array('entity' => $subject, 'size' => 'tiny'));
-$object_icon = elgg_view("profile/icon", array('entity' => $object, 'size' => 'tiny'));
+$subject_icon = elgg_view_entity_icon($subject, 'tiny');
+$object_icon = elgg_view_entity_icon($object, 'tiny');
echo elgg_echo("friends:river:add", array($object_link));