From c27eac2d2a970e76a1204757bbe15da8efb2870c Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 21:48:24 +0000 Subject: Refs #1439: Using new page_owner functions in all of core git-svn-id: http://code.elgg.org/elgg/trunk@7140 36083f99-b078-4883-b0ff-0f9b5a30f544 --- pages/friends/index.php | 4 ++-- pages/friends/of.php | 4 ++-- pages/friends/pickercallback.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'pages/friends') 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; -- cgit v1.2.3