diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 12:43:28 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 12:43:28 +0000 |
commit | 0cc190deb5ec0c9608255192c042f573fd834019 (patch) | |
tree | 4cd2d31d33109d268ac595140375b604f1399276 /mod/pages | |
parent | 5c8493c1456bb656dd4c6448fb0edde7af81b325 (diff) | |
download | elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.gz elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.bz2 |
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
Diffstat (limited to 'mod/pages')
-rw-r--r-- | mod/pages/friends.php | 2 | ||||
-rw-r--r-- | mod/pages/index.php | 2 | ||||
-rw-r--r-- | mod/pages/revision.php | 2 | ||||
-rw-r--r-- | mod/pages/view.php | 2 | ||||
-rw-r--r-- | mod/pages/views/default/pages/group_module.php | 2 | ||||
-rw-r--r-- | mod/pages/views/default/pages/sidebar/navigation.php | 2 | ||||
-rw-r--r-- | mod/pages/views/default/widgets/pages/content.php | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/mod/pages/friends.php b/mod/pages/friends.php index 1f047701e..51c07194f 100644 --- a/mod/pages/friends.php +++ b/mod/pages/friends.php @@ -8,7 +8,7 @@ $guid = get_input('guid'); elgg_set_page_owner_guid($guid); -$owner = elgg_get_page_owner(); +$owner = elgg_get_page_owner_entity(); if (!$owner) { } diff --git a/mod/pages/index.php b/mod/pages/index.php index c4e391206..afda594cb 100644 --- a/mod/pages/index.php +++ b/mod/pages/index.php @@ -8,7 +8,7 @@ $guid = get_input('guid'); elgg_set_page_owner_guid($guid); -$owner = elgg_get_page_owner(); +$owner = elgg_get_page_owner_entity(); if (!$owner) { } diff --git a/mod/pages/revision.php b/mod/pages/revision.php index aa0665635..1945bb8af 100644 --- a/mod/pages/revision.php +++ b/mod/pages/revision.php @@ -20,7 +20,7 @@ elgg_set_page_owner_guid($page->getContainerGUID()); group_gatekeeper(); -$container = elgg_get_page_owner(); +$container = elgg_get_page_owner_entity(); if (!$container) { } diff --git a/mod/pages/view.php b/mod/pages/view.php index 69ae5686c..f3d846f23 100644 --- a/mod/pages/view.php +++ b/mod/pages/view.php @@ -15,7 +15,7 @@ elgg_set_page_owner_guid($page->getContainerGUID()); group_gatekeeper(); -$container = elgg_get_page_owner(); +$container = elgg_get_page_owner_entity(); if (!$container) { } diff --git a/mod/pages/views/default/pages/group_module.php b/mod/pages/views/default/pages/group_module.php index 2e6b7f6ec..87845e224 100644 --- a/mod/pages/views/default/pages/group_module.php +++ b/mod/pages/views/default/pages/group_module.php @@ -6,7 +6,7 @@ */ -$group = elgg_get_page_owner(); +$group = elgg_get_page_owner_entity(); if ($group->pages_enable == "no") { return true; diff --git a/mod/pages/views/default/pages/sidebar/navigation.php b/mod/pages/views/default/pages/sidebar/navigation.php index 806fc2f52..141cf8a64 100644 --- a/mod/pages/views/default/pages/sidebar/navigation.php +++ b/mod/pages/views/default/pages/sidebar/navigation.php @@ -12,7 +12,7 @@ if ($selected_page) { $title = elgg_echo('pages:navigation'); -pages_register_navigation_tree(elgg_get_page_owner()); +pages_register_navigation_tree(elgg_get_page_owner_entity()); $content = elgg_view_menu('pages_nav', array('class' => 'pages-nav')); if (!$content) { diff --git a/mod/pages/views/default/widgets/pages/content.php b/mod/pages/views/default/widgets/pages/content.php index 63a2d8e7e..eea482273 100644 --- a/mod/pages/views/default/widgets/pages/content.php +++ b/mod/pages/views/default/widgets/pages/content.php @@ -20,7 +20,7 @@ $content = elgg_list_entities($options); echo $content; if ($content) { - $url = "pg/pages/owner/" . elgg_get_page_owner()->username; + $url = "pg/pages/owner/" . elgg_get_page_owner_entity()->username; $more_link = elgg_view('output/url', array( 'href' => $url, 'text' => elgg_echo('pages:more'), |