From 7be26eab54af016c2f64b2316141d40955c6c2f6 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 6 Feb 2011 22:46:47 +0000 Subject: removing old entities views that are no longer needed and did the last changes for the icon system git-svn-id: http://code.elgg.org/elgg/trunk@8054 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/object/default.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'views/default/object/default.php') diff --git a/views/default/object/default.php b/views/default/object/default.php index be2be475e..bcb1b04fd 100644 --- a/views/default/object/default.php +++ b/views/default/object/default.php @@ -8,11 +8,7 @@ * @subpackage Core */ -$icon = elgg_view('graphics/icon', array( - 'entity' => $vars['entity'], - 'size' => 'small', -)); - +$icon = elgg_view_entity_icon($vars['entity'], 'small'); $title = $vars['entity']->title; if (!$title) { -- cgit v1.2.3