aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/pages/all.php')
-rw-r--r--mod/bookmarks/pages/all.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/mod/bookmarks/pages/all.php b/mod/bookmarks/pages/all.php
deleted file mode 100644
index 5a01b6f34..000000000
--- a/mod/bookmarks/pages/all.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-/**
- * Elgg bookmarks plugin everyone page
- *
- * @package ElggBookmarks
- */
-
-$page_owner = elgg_get_page_owner_entity();
-if (!$page_owner) {
- $page_owner = elgg_get_logged_in_user_guid();
- elgg_set_page_owner_guid($page_owner);
-}
-
-$offset = (int)get_input('offset', 0);
-$content .= elgg_list_entities(array(
- 'type' => 'object',
- 'subtype' => 'bookmarks',
- 'limit' => 10,
- 'offset' => $offset,
- 'full_view' => false,
- 'view_toggle_type' => false
-));
-
-$title = elgg_echo('bookmarks:everyone');
-
-$body = elgg_view_layout('content', array(
- 'filter_context' => 'all',
- 'content' => $content,
- 'title' => $title
-));
-
-echo elgg_view_page($title, $body); \ No newline at end of file