aboutsummaryrefslogtreecommitdiff
path: root/pages/friends
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:48:24 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 21:48:24 +0000
commitc27eac2d2a970e76a1204757bbe15da8efb2870c (patch)
tree7f524d3ee95391163293d9f77a945e2915c3e8ac /pages/friends
parentf49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb (diff)
downloadelgg-c27eac2d2a970e76a1204757bbe15da8efb2870c.tar.gz
elgg-c27eac2d2a970e76a1204757bbe15da8efb2870c.tar.bz2
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
Diffstat (limited to 'pages/friends')
-rw-r--r--pages/friends/index.php4
-rw-r--r--pages/friends/of.php4
-rw-r--r--pages/friends/pickercallback.php2
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;