aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-16 15:09:56 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-16 15:09:56 +0000
commit6af05fd46c738c48ddb8d895087fca64075b280a (patch)
tree4b7ac5a02901cd525703f041e179328d5cf45f59 /engine
parent62afaa85ece1ce8859593cc2cdc957a26b309436 (diff)
downloadelgg-6af05fd46c738c48ddb8d895087fca64075b280a.tar.gz
elgg-6af05fd46c738c48ddb8d895087fca64075b280a.tar.bz2
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
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 0 insertions, 2 deletions
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);