aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 23:06:35 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 23:06:35 +0000
commit1429e80a1276a9081e4148076e2eac588e55a439 (patch)
tree9ebe52aa7a5c056a014187f39a6dc31c730833e7 /mod/groups/lib
parent02bf9ae5522c752aaa7bfac9b9562c634d35cef4 (diff)
downloadelgg-1429e80a1276a9081e4148076e2eac588e55a439.tar.gz
elgg-1429e80a1276a9081e4148076e2eac588e55a439.tar.bz2
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
Diffstat (limited to 'mod/groups/lib')
-rw-r--r--mod/groups/lib/discussion.php6
1 files changed, 2 insertions, 4 deletions
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');