aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
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 /mod/profile
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 'mod/profile')
-rwxr-xr-xmod/profile/views/default/profile/owner_block.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php
index 20555d260..e458469e4 100755
--- a/mod/profile/views/default/profile/owner_block.php
+++ b/mod/profile/views/default/profile/owner_block.php
@@ -11,11 +11,7 @@ if (!$user) {
return TRUE;
}
-$icon = elgg_view("profile/icon", array(
- 'entity' => $user,
- 'size' => 'large',
- 'override' => 'true'
-));
+$icon = elgg_view_entity_icon($user, 'large', array('override' => 'true'));
// grab the actions and admin menu items from user hover
$menu = elgg_trigger_plugin_hook('register', "menu:user_hover", array('entity' => $user), array());