From 6af05fd46c738c48ddb8d895087fca64075b280a Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 16 Apr 2008 15:09:56 +0000 Subject: No need for elgg_view_entity to separately load the owner entity git-svn-id: https://code.elgg.org/elgg/trunk@478 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'engine') diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 94959496e..ccecd69ec 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -195,11 +195,9 @@ if (!isset($entity_class)) return false; $subtype = $entity->getSubtype(); - $owner = get_entity($entity->getOwner()); return elgg_view("{$entity_type}/{$subtype}",array( 'entity' => $entity, - 'entity_owner' => $owner, 'full' => $full ), $viewtype, $bypass, $debug); -- cgit v1.2.3