diff options
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) { ?> |