diff options
Diffstat (limited to 'pages/friends')
-rw-r--r-- | pages/friends/index.php | 4 | ||||
-rw-r--r-- | pages/friends/of.php | 4 | ||||
-rw-r--r-- | pages/friends/pickercallback.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/pages/friends/index.php b/pages/friends/index.php index 10128ffc7..e9ff87c16 100644 --- a/pages/friends/index.php +++ b/pages/friends/index.php @@ -6,11 +6,11 @@ * @subpackage Core */ -$owner = page_owner_entity(); +$owner = elgg_get_page_owner(); if (!$owner) { gatekeeper(); set_page_owner(get_loggedin_userid()); - $owner = page_owner_entity(); + $owner = elgg_get_page_owner(); } $title = sprintf(elgg_echo("friends:owned"), $owner->name); diff --git a/pages/friends/of.php b/pages/friends/of.php index b8740b88e..0e09e09f0 100644 --- a/pages/friends/of.php +++ b/pages/friends/of.php @@ -6,11 +6,11 @@ * @subpackage Core */ -$owner = page_owner_entity(); +$owner = elgg_get_page_owner(); if (!$owner) { gatekeeper(); set_page_owner(get_loggedin_userid()); - $owner = page_owner_entity(); + $owner = elgg_get_page_owner(); } $title = sprintf(elgg_echo("friends:of:owned"), $owner->name); diff --git a/pages/friends/pickercallback.php b/pages/friends/pickercallback.php index c04b1d383..00661c2b1 100644 --- a/pages/friends/pickercallback.php +++ b/pages/friends/pickercallback.php @@ -22,7 +22,7 @@ if (!$members) { $friendspicker = (int) get_input('friendspicker', 0); // Get page owner (bomb out if there isn't one) -$pageowner = page_owner_entity(); +$pageowner = elgg_get_page_owner(); if (!$pageowner) { forward(); exit; |