diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 21:48:24 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 21:48:24 +0000 |
commit | c27eac2d2a970e76a1204757bbe15da8efb2870c (patch) | |
tree | 7f524d3ee95391163293d9f77a945e2915c3e8ac /views/default/user | |
parent | f49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb (diff) | |
download | elgg-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 'views/default/user')
-rw-r--r-- | views/default/user/settings/default_access.php | 2 | ||||
-rw-r--r-- | views/default/user/settings/email.php | 2 | ||||
-rw-r--r-- | views/default/user/settings/language.php | 2 | ||||
-rw-r--r-- | views/default/user/settings/name.php | 2 | ||||
-rw-r--r-- | views/default/user/settings/password.php | 2 |
5 files changed, 5 insertions, 5 deletions
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) { ?> |