aboutsummaryrefslogtreecommitdiff
path: root/pages/settings/index.php
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/settings/index.php
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/settings/index.php')
-rw-r--r--pages/settings/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/settings/index.php b/pages/settings/index.php
index 01a60d753..dbc8c87da 100644
--- a/pages/settings/index.php
+++ b/pages/settings/index.php
@@ -6,14 +6,14 @@
* @subpackage Core
*/
-if (!page_owner()) {
+if (!elgg_get_page_owner_guid()) {
set_page_owner(get_loggedin_userid());
}
// Make sure we don't open a security hole ...
-if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) {
+if ((!elgg_get_page_owner()) || (!elgg_get_page_owner()->canEdit())) {
set_page_owner(get_loggedin_userid());
}
// Forward to the user settings
-forward('pg/settings/user/' . page_owner_entity()->username . "/"); \ No newline at end of file
+forward('pg/settings/user/' . elgg_get_page_owner()->username . "/"); \ No newline at end of file