aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/friends.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-19 15:19:02 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-19 15:19:02 +0000
commitb5e2dbf292cddd56a8171b4c9cf1d9cf0fb45582 (patch)
treeaa7f916fba9fc61869f71492266d537f34e4d736 /mod/pages/friends.php
parente603c947a5ae2869164b11fee827d4c595e4a3f8 (diff)
downloadelgg-b5e2dbf292cddd56a8171b4c9cf1d9cf0fb45582.tar.gz
elgg-b5e2dbf292cddd56a8171b4c9cf1d9cf0fb45582.tar.bz2
Fixes #3158 updated search and pages plugins for page handler scripts
git-svn-id: http://code.elgg.org/elgg/trunk@8769 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/friends.php')
-rw-r--r--mod/pages/friends.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/mod/pages/friends.php b/mod/pages/friends.php
deleted file mode 100644
index 13aa28578..000000000
--- a/mod/pages/friends.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * List a user's friends' pages
- *
- * @package ElggPages
- */
-
-$owner = elgg_get_page_owner_entity();
-if (!$owner) {
-
-}
-
-elgg_push_breadcrumb($owner->name, "pages/owner/$owner->username");
-elgg_push_breadcrumb(elgg_echo('friends'));
-
-$title = elgg_echo('pages:friends');
-
-$content = list_user_friends_objects($owner->guid, 'page_top', 10, false);
-if (!$content) {
- $content = elgg_echo('pages:none');
-}
-
-$params = array(
- 'filter_context' => 'friends',
- 'content' => $content,
- 'title' => $title,
-);
-
-$body = elgg_view_layout('content', $params);
-
-echo elgg_view_page($title, $body);