aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/owner.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/pages/owner.php')
-rw-r--r--mod/bookmarks/pages/owner.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/mod/bookmarks/pages/owner.php b/mod/bookmarks/pages/owner.php
index 5b864ff48..2216b593f 100644
--- a/mod/bookmarks/pages/owner.php
+++ b/mod/bookmarks/pages/owner.php
@@ -2,19 +2,16 @@
/**
* Elgg bookmarks plugin everyone page
*
- * @package ElggBookmarks
+ * @package Bookmarks
*/
-elgg_push_context('bookmarks');
-elgg_push_breadcrumb(elgg_echo('bookmarks'), 'pg/bookmarks/all');
-
$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);
}
-elgg_push_breadcrumb($page_owner->name, "pg/bookmarks/owner/$page_owner->username");
+elgg_push_breadcrumb($page_owner->name);
$offset = (int)get_input('offset', 0);
$content .= elgg_list_entities(array(
@@ -35,5 +32,4 @@ $body = elgg_view_layout('content', array(
'title' => $title
));
-echo elgg_view_page($title, $body);
-elgg_pop_context(); \ No newline at end of file
+echo elgg_view_page($title, $body); \ No newline at end of file