From 62afaa85ece1ce8859593cc2cdc957a26b309436 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 16 Apr 2008 15:05:55 +0000 Subject: ElggEntity->getOwnerUser() -> ElggEntity->getOwnerEntity() git-svn-id: https://code.elgg.org/elgg/trunk@477 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- mod/blog/start.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 2752b4a08..da32d134e 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -287,7 +287,7 @@ * * @return ElggEntity The owning user */ - public function getOwnerUser() { return get_entity($this->get('owner_guid')); } + public function getOwnerEntity() { return get_entity($this->get('owner_guid')); } /** * Enter description here... diff --git a/mod/blog/start.php b/mod/blog/start.php index d7157c40b..0df79a5cf 100644 --- a/mod/blog/start.php +++ b/mod/blog/start.php @@ -87,7 +87,7 @@ function blog_url($blogpost) { global $CONFIG; - return $CONFIG->url . "blog/" . $blogpost->getOwnerUser()->username . "/read/" . $blogpost->getGUID(); + return $CONFIG->url . "blog/" . $blogpost->getOwnerEntity()->username . "/read/" . $blogpost->getGUID(); } -- cgit v1.2.3