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.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/mod/profile/profile_lib.php b/mod/profile/profile_lib.php
index 3979ad9e3..7e092c003 100644
--- a/mod/profile/profile_lib.php
+++ b/mod/profile/profile_lib.php
@@ -22,10 +22,6 @@ function profile_get_user_profile_html($user, $section = 'activity') {
$view_options = array('entity' => $user);
switch($section){
- case 'widgets':
- $body .= elgg_view_layout('widgets', $view_options);
- break;
-
case 'friends':
$body .= elgg_view('profile/profile_contents/friends', $view_options);
break;