aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks/all.php')
-rw-r--r--mod/bookmarks/all.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/mod/bookmarks/all.php b/mod/bookmarks/all.php
index 8f816b285..6b81378a7 100644
--- a/mod/bookmarks/all.php
+++ b/mod/bookmarks/all.php
@@ -11,13 +11,6 @@
// Start engine
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
-// Get the current page's owner
-$page_owner = page_owner_entity();
-if ($page_owner === false || is_null($page_owner)) {
- $page_owner = $_SESSION['user'];
- set_page_owner($_SESSION['guid']);
-}
// get the filter menu
$area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'bookmarks'));