aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
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 /engine/lib/views.php
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 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 144a346f5..21d606e01 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1094,12 +1094,8 @@ function elgg_view_latest_comments($owner_guid, $type = 'object', $subtype = '',
'pagination' => false,
'list_class' => 'elgg-latest-comments',
));
- $params = array(
- 'title' => $title,
- 'body' => $body,
- 'class' => 'elgg-module-aside',
- );
- return elgg_view('layout/objects/module', $params);
+
+ return elgg_view_module('aside', $title, $body);
}
/**