aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-16 15:05:55 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-16 15:05:55 +0000
commit62afaa85ece1ce8859593cc2cdc957a26b309436 (patch)
tree4f18cf593f110e9b8f48a8c8db86b7f0089f294d
parentdc62de56463104f553b51174c6266ccadcf260b3 (diff)
downloadelgg-62afaa85ece1ce8859593cc2cdc957a26b309436.tar.gz
elgg-62afaa85ece1ce8859593cc2cdc957a26b309436.tar.bz2
ElggEntity->getOwnerUser() -> ElggEntity->getOwnerEntity()
git-svn-id: https://code.elgg.org/elgg/trunk@477 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/entities.php2
-rw-r--r--mod/blog/start.php2
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();
}