aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/discussion
diff options
context:
space:
mode:
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));