From 0cc190deb5ec0c9608255192c042f573fd834019 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 26 Jan 2011 12:43:28 +0000 Subject: changed elgg_get_page_owner() to elgg_get_page_owner_entity() to be more consistent git-svn-id: http://code.elgg.org/elgg/trunk@7943 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/blog/group_module.php | 2 +- mod/blog/views/default/blog/sidebar/archives.php | 2 +- mod/blog/views/default/blog/sidebar/tagcloud.php | 2 +- mod/blog/views/default/widgets/blog/content.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mod/blog/views/default') diff --git a/mod/blog/views/default/blog/group_module.php b/mod/blog/views/default/blog/group_module.php index a88f223db..d304e53d3 100644 --- a/mod/blog/views/default/blog/group_module.php +++ b/mod/blog/views/default/blog/group_module.php @@ -3,7 +3,7 @@ * Group blog module */ -$group = elgg_get_page_owner(); +$group = elgg_get_page_owner_entity(); if ($group->blog_enable == "no") { return true; diff --git a/mod/blog/views/default/blog/sidebar/archives.php b/mod/blog/views/default/blog/sidebar/archives.php index f08c7ea7e..81cac40fc 100644 --- a/mod/blog/views/default/blog/sidebar/archives.php +++ b/mod/blog/views/default/blog/sidebar/archives.php @@ -4,7 +4,7 @@ */ $loggedin_user = get_loggedin_user(); -$page_owner = elgg_get_page_owner(); +$page_owner = elgg_get_page_owner_entity(); // This is a limitation of the URL schema. if ($page_owner && $vars['page'] != 'friends') { diff --git a/mod/blog/views/default/blog/sidebar/tagcloud.php b/mod/blog/views/default/blog/sidebar/tagcloud.php index 2f5ce3955..f1ef7ffdb 100644 --- a/mod/blog/views/default/blog/sidebar/tagcloud.php +++ b/mod/blog/views/default/blog/sidebar/tagcloud.php @@ -4,7 +4,7 @@ */ $loggedin_user = get_loggedin_user(); -$page_owner = elgg_get_page_owner(); +$page_owner = elgg_get_page_owner_entity(); if ($page_owner && $vars['page'] != 'friends') { diff --git a/mod/blog/views/default/widgets/blog/content.php b/mod/blog/views/default/widgets/blog/content.php index 83d1c0c41..713c0f07d 100644 --- a/mod/blog/views/default/widgets/blog/content.php +++ b/mod/blog/views/default/widgets/blog/content.php @@ -18,7 +18,7 @@ $content = elgg_list_entities($options); echo $content; if ($content) { - $blog_url = "pg/blog/owner/" . elgg_get_page_owner()->username; + $blog_url = "pg/blog/owner/" . elgg_get_page_owner_entity()->username; $more_link = elgg_view('output/url', array( 'href' => $blog_url, 'text' => elgg_echo('blog:moreblogs'), -- cgit v1.2.3