aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/index.php')
-rw-r--r--mod/profile/index.php14
1 files changed, 2 insertions, 12 deletions
diff --git a/mod/profile/index.php b/mod/profile/index.php
index 6d56f2c87..41552602d 100644
--- a/mod/profile/index.php
+++ b/mod/profile/index.php
@@ -26,10 +26,6 @@ if ($user = get_user_by_username($username)) {
$body .= elgg_view('profile/profile_contents/details', array("entity" => $user));
break;
- case 'widgets':
- $body .= elgg_view_layout('widgets');
- break;
-
case 'friends':
$body .= elgg_view('profile/profile_contents/friends', array("entity" => $user));
break;
@@ -45,16 +41,10 @@ if ($user = get_user_by_username($username)) {
$body .= elgg_view('profile/profile_contents/details', array("entity" => $user));
break;
}
- //$body .= elgg_view_entity($user,true);
$title = $user->name;
- //$body .= elgg_view_layout('widgets');
} else {
$body = elgg_echo("profile:notfound");
$title = elgg_echo("profile");
}
-if ($option == 'widgets') {
- //page_draw_widgets($title, $body, $sidebar="");
-} else {
- $body = elgg_view_layout("one_column", $body);
- page_draw($title, $body);
-} \ No newline at end of file
+$body = elgg_view_layout("one_column", $body);
+page_draw($title, $body); \ No newline at end of file