aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/profile_lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/profile_lib.php')
-rw-r--r--mod/profile/profile_lib.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/profile/profile_lib.php b/mod/profile/profile_lib.php
index 7e092c003..993985279 100644
--- a/mod/profile/profile_lib.php
+++ b/mod/profile/profile_lib.php
@@ -29,7 +29,10 @@ function profile_get_user_profile_html($user, $section = 'activity') {
case 'twitter':
$body .= elgg_view('profile/profile_contents/twitter', $view_options);
break;
-
+ case 'commentwall':
+ $comments = $user->getAnnotations('commentwall', 200, 0, 'desc');
+ $body .= elgg_view('profile/profile_contents/commentwall', array("entity" => $user, "comments" => $comments));
+ break;
case 'details':
$body .= elgg_view('profile/profile_contents/details', $view_options);
break;