aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/bookmarks/all.php7
-rw-r--r--mod/members/index.php2
2 files changed, 1 insertions, 8 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'));
diff --git a/mod/members/index.php b/mod/members/index.php
index c19ed8b4a..6df2ceeb1 100644
--- a/mod/members/index.php
+++ b/mod/members/index.php
@@ -15,7 +15,7 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
$page_owner = page_owner_entity();
if ($page_owner === false || is_null($page_owner)) {
$page_owner = $_SESSION['user'];
- set_page_owner($page_owner->getGUID());
+ //set_page_owner($page_owner->getGUID());
}
// get filter parameters