aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views/default')
-rw-r--r--mod/profile/views/default/profile/details.php2
-rw-r--r--mod/profile/views/default/profile/metatags.php2
-rwxr-xr-xmod/profile/views/default/profile/owner_block.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/mod/profile/views/default/profile/details.php b/mod/profile/views/default/profile/details.php
index 31630fb69..649a5b2cc 100644
--- a/mod/profile/views/default/profile/details.php
+++ b/mod/profile/views/default/profile/details.php
@@ -4,7 +4,7 @@
* @uses $vars['entity'] The user entity
*/
-$user = elgg_get_page_owner();
+$user = elgg_get_page_owner_entity();
$profile_fields = elgg_get_config('profile_fields');
diff --git a/mod/profile/views/default/profile/metatags.php b/mod/profile/views/default/profile/metatags.php
index 1197a2e0a..54ee322e2 100644
--- a/mod/profile/views/default/profile/metatags.php
+++ b/mod/profile/views/default/profile/metatags.php
@@ -6,7 +6,7 @@
*
*/
-if (elgg_get_page_owner()) {
+if (elgg_get_page_owner_entity()) {
?>
<link rel="meta" type="application/rdf+xml" title="FOAF" href="<?php echo full_url(); ?>?view=foaf" />
<?php
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php
index acff5c2d4..4edcec8d1 100755
--- a/mod/profile/views/default/profile/owner_block.php
+++ b/mod/profile/views/default/profile/owner_block.php
@@ -3,7 +3,7 @@
* Profile owner block
*/
-$user = elgg_get_page_owner();
+$user = elgg_get_page_owner_entity();
if (!$user) {
// no user so we quit view
@@ -49,7 +49,7 @@ if (isadminloggedin() && get_loggedin_userid() != elgg_get_page_owner_guid()) {
// content links
$content_menu = elgg_view_menu('owner_block', array(
- 'entity' => elgg_get_page_owner(),
+ 'entity' => elgg_get_page_owner_entity(),
'class' => 'profile-content-menu',
));