aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/diagnostics/index.php3
-rw-r--r--mod/logbrowser/index.php5
2 files changed, 1 insertions, 7 deletions
diff --git a/mod/diagnostics/index.php b/mod/diagnostics/index.php
index e77d004a8..9a7b66191 100644
--- a/mod/diagnostics/index.php
+++ b/mod/diagnostics/index.php
@@ -12,9 +12,6 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
admin_gatekeeper();
set_context('admin');
-// Set admin user for user block
-set_page_owner($_SESSION['guid']);
-
// system diagnostics
$body = elgg_view_title(elgg_echo('diagnostics'));
$body .= elgg_view('page_elements/contentwrapper', array('body' =>
diff --git a/mod/logbrowser/index.php b/mod/logbrowser/index.php
index 18a15bfa4..d3901726c 100644
--- a/mod/logbrowser/index.php
+++ b/mod/logbrowser/index.php
@@ -13,9 +13,6 @@
admin_gatekeeper();
set_context('admin');
- // Set admin user for user block
- set_page_owner($_SESSION['guid']);
-
$limit = get_input('limit', 40);
$offset = get_input('offset');
@@ -63,4 +60,4 @@
// Display main admin menu
page_draw(elgg_echo('logbrowser'),elgg_view_layout("two_column_left_sidebar", '', $title . $form . $result));
-?> \ No newline at end of file
+?>