aboutsummaryrefslogtreecommitdiff
path: root/mod/file
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file')
-rw-r--r--mod/file/views/default/file/group_module.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/file/views/default/file/group_module.php b/mod/file/views/default/file/group_module.php
index ebd07c2b2..8c80f297c 100644
--- a/mod/file/views/default/file/group_module.php
+++ b/mod/file/views/default/file/group_module.php
@@ -40,10 +40,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));