diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-12 09:50:12 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-16 19:53:03 -0500 |
commit | ec13919094145765bed8ad775d0c75598bb107ca (patch) | |
tree | f2d5775ded96c09e01cab3f4f06af2f200a0142f /mod | |
parent | 2f24f33695754fa6bf9128f88de431fc44c9f7d6 (diff) | |
download | elgg-ec13919094145765bed8ad775d0c75598bb107ca.tar.gz elgg-ec13919094145765bed8ad775d0c75598bb107ca.tar.bz2 |
removed uses of deprecated function for setting page owner guid
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/actions/groups/edit.php | 2 | ||||
-rw-r--r-- | mod/groups/actions/groups/membership/leave.php | 2 | ||||
-rw-r--r-- | mod/invitefriends/start.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/actions/groups/edit.php b/mod/groups/actions/groups/edit.php index 27f6e0426..c4cf6667e 100644 --- a/mod/groups/actions/groups/edit.php +++ b/mod/groups/actions/groups/edit.php @@ -91,7 +91,7 @@ $group->save(); // group creator needs to be member of new group and river entry created if ($new_group_flag) { - set_page_owner($group->guid); + elgg_set_page_owner_guid($group->guid); $group->join($user); add_to_river('river/group/create', 'create', $user->guid, $group->guid); } diff --git a/mod/groups/actions/groups/membership/leave.php b/mod/groups/actions/groups/membership/leave.php index 390870df1..4f34c7dde 100644 --- a/mod/groups/actions/groups/membership/leave.php +++ b/mod/groups/actions/groups/membership/leave.php @@ -17,7 +17,7 @@ if (!$user_guid) { $group = get_entity($group_guid); -set_page_owner($group->guid); +elgg_set_page_owner_guid($group->guid); if (($user instanceof ElggUser) && ($group instanceof ElggGroup)) { if ($group->getOwnerGUID() != elgg_get_logged_in_user_guid()) { diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php index be853f2ce..368f6348a 100644 --- a/mod/invitefriends/start.php +++ b/mod/invitefriends/start.php @@ -33,7 +33,7 @@ function invitefriends_page_handler($page) { gatekeeper(); elgg_set_context('friends'); - set_page_owner(elgg_get_logged_in_user_guid()); + elgg_set_page_owner_guid(elgg_get_logged_in_user_guid()); $title = elgg_echo('friends:invite'); |