From 1429e80a1276a9081e4148076e2eac588e55a439 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 20 Feb 2011 23:06:35 +0000 Subject: Fixes #2970 updated groups, file, pages, and wire plugins for automatic page owner setting git-svn-id: http://code.elgg.org/elgg/trunk@8376 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/lib/discussion.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mod/groups/lib') diff --git a/mod/groups/lib/discussion.php b/mod/groups/lib/discussion.php index 62b0552e0..6c86ff83f 100644 --- a/mod/groups/lib/discussion.php +++ b/mod/groups/lib/discussion.php @@ -17,7 +17,7 @@ function discussion_handle_all_page() { 'annotation_name' => 'generic_comment', 'order_by' => 'e.last_action desc', 'limit' => 40, - 'fullview' => false, + 'full_view' => false, )); $params = array( @@ -57,7 +57,7 @@ function discussion_handle_list_page($guid) { 'limit' => 20, 'order_by' => 'e.last_action desc', 'container_guid' => $guid, - 'fullview' => true, + 'full_view' => false, ); $content = elgg_list_entities($options); @@ -87,7 +87,6 @@ function discussion_handle_edit_page($type, $guid) { gatekeeper(); if ($type == 'add') { - elgg_set_page_owner_guid($guid); $group = get_entity($guid); if (!$group) { register_error(elgg_echo('group:notfound')); @@ -113,7 +112,6 @@ function discussion_handle_edit_page($type, $guid) { register_error(elgg_echo('group:notfound')); forward(); } - elgg_set_page_owner_guid($group->getGUID()); $title = elgg_echo('groups:edittopic'); -- cgit v1.2.3