diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 12:43:28 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-26 12:43:28 +0000 |
commit | 0cc190deb5ec0c9608255192c042f573fd834019 (patch) | |
tree | 4cd2d31d33109d268ac595140375b604f1399276 /views/default/core/settings | |
parent | 5c8493c1456bb656dd4c6448fb0edde7af81b325 (diff) | |
download | elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.gz elgg-0cc190deb5ec0c9608255192c042f573fd834019.tar.bz2 |
changed elgg_get_page_owner() to elgg_get_page_owner_entity() to be more consistent
git-svn-id: http://code.elgg.org/elgg/trunk@7943 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/core/settings')
5 files changed, 5 insertions, 5 deletions
diff --git a/views/default/core/settings/account/default_access.php b/views/default/core/settings/account/default_access.php index 3fbf3d32d..678a68ba1 100644 --- a/views/default/core/settings/account/default_access.php +++ b/views/default/core/settings/account/default_access.php @@ -6,7 +6,7 @@ * @subpackage Core */ if ($vars['config']->allow_user_default_access) { - $user = elgg_get_page_owner(); + $user = elgg_get_page_owner_entity(); if ($user) { if (false === ($default_access = $user->getPrivateSetting('elgg_default_access'))) { diff --git a/views/default/core/settings/account/email.php b/views/default/core/settings/account/email.php index b0d69eb82..1222a46ef 100644 --- a/views/default/core/settings/account/email.php +++ b/views/default/core/settings/account/email.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$user = elgg_get_page_owner(); +$user = elgg_get_page_owner_entity(); if ($user) { ?> diff --git a/views/default/core/settings/account/language.php b/views/default/core/settings/account/language.php index 45d121c15..bac22fe34 100644 --- a/views/default/core/settings/account/language.php +++ b/views/default/core/settings/account/language.php @@ -7,7 +7,7 @@ */ global $CONFIG; -$user = elgg_get_page_owner(); +$user = elgg_get_page_owner_entity(); if ($user) { ?> diff --git a/views/default/core/settings/account/name.php b/views/default/core/settings/account/name.php index fad6c488f..22f950925 100644 --- a/views/default/core/settings/account/name.php +++ b/views/default/core/settings/account/name.php @@ -8,7 +8,7 @@ */ -$user = elgg_get_page_owner(); +$user = elgg_get_page_owner_entity(); // 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/core/settings/account/password.php b/views/default/core/settings/account/password.php index 8e200754e..524cc0ce0 100644 --- a/views/default/core/settings/account/password.php +++ b/views/default/core/settings/account/password.php @@ -6,7 +6,7 @@ * @subpackage Core */ -$user = elgg_get_page_owner(); +$user = elgg_get_page_owner_entity(); if ($user) { ?> |