aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/discussion
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 02:29:23 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 02:29:23 +0000
commit22bb75ea6cd36fc3f6b0f6be608aa4637063d29a (patch)
tree0dbc1aa6e4609190152b091cfcf8160e054cc0f6 /mod/groups/views/default/discussion
parent52aaa3ded5302ac312e259a8e101363cdc3b548a (diff)
downloadelgg-22bb75ea6cd36fc3f6b0f6be608aa4637063d29a.tar.gz
elgg-22bb75ea6cd36fc3f6b0f6be608aa4637063d29a.tar.bz2
Fixes #2904: Converted most elgg_view('layout/objects/module') instances to elgg_view_module()
git-svn-id: http://code.elgg.org/elgg/trunk@8135 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/discussion')
-rw-r--r--mod/groups/views/default/discussion/group_module.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/groups/views/default/discussion/group_module.php b/mod/groups/views/default/discussion/group_module.php
index dd3a3e1cb..afe47ab68 100644
--- a/mod/groups/views/default/discussion/group_module.php
+++ b/mod/groups/views/default/discussion/group_module.php
@@ -43,10 +43,4 @@ $new_link = elgg_view('output/url', array(
));
$content .= "<span class='elgg-widget-more'>$new_link</span>";
-
-$params = array(
- 'header' => $header,
- 'body' => $content,
- 'class' => 'elgg-module-info',
-);
-echo elgg_view('layout/objects/module', $params);
+echo elgg_view_module('info', '', $content, array('header' => $header));