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 --- views/default/user/settings/default_access.php | 2 +- views/default/user/settings/email.php | 2 +- views/default/user/settings/language.php | 2 +- views/default/user/settings/name.php | 2 +- views/default/user/settings/password.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'views/default/user/settings') diff --git a/views/default/user/settings/default_access.php b/views/default/user/settings/default_access.php index 30f3da8b6..c557fd09d 100644 --- a/views/default/user/settings/default_access.php +++ b/views/default/user/settings/default_access.php @@ -6,7 +6,7 @@ * @subpackage Core */ if ($vars['config']->allow_user_default_access) { - $user = page_owner_entity(); + $user = elgg_get_page_owner(); if ($user) { if (false === ($default_access = $user->getPrivateSetting('elgg_default_access'))) { diff --git a/views/default/user/settings/email.php b/views/default/user/settings/email.php index 19902d532..0a08b1faf 100644 --- a/views/default/user/settings/email.php +++ b/views/default/user/settings/email.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$user = page_owner_entity(); +$user = elgg_get_page_owner(); if ($user) { ?> diff --git a/views/default/user/settings/language.php b/views/default/user/settings/language.php index fd93cfbba..06486ae3e 100644 --- a/views/default/user/settings/language.php +++ b/views/default/user/settings/language.php @@ -7,7 +7,7 @@ */ global $CONFIG; -$user = page_owner_entity(); +$user = elgg_get_page_owner(); if ($user) { ?> diff --git a/views/default/user/settings/name.php b/views/default/user/settings/name.php index 5111b5db1..fad6c488f 100644 --- a/views/default/user/settings/name.php +++ b/views/default/user/settings/name.php @@ -8,7 +8,7 @@ */ -$user = page_owner_entity(); +$user = elgg_get_page_owner(); // all hidden, but necessary for properly updating user details echo elgg_view('input/hidden', array('internalname' => 'name', 'value' => $user->name)); diff --git a/views/default/user/settings/password.php b/views/default/user/settings/password.php index 82806e06b..ea7be401d 100644 --- a/views/default/user/settings/password.php +++ b/views/default/user/settings/password.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$user = page_owner_entity(); +$user = elgg_get_page_owner(); if ($user) { ?> -- cgit v1.2.3