aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--admin/plugins.php5
-rw-r--r--mod/diagnostics/index.php3
-rw-r--r--mod/logbrowser/index.php5
3 files changed, 2 insertions, 11 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index 7c452ad2d..2ccb8ecb0 100644
--- a/admin/plugins.php
+++ b/admin/plugins.php
@@ -15,9 +15,6 @@ require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
// Make sure only valid admin users can see this
admin_gatekeeper();
-// Set admin user for user block
-//set_page_owner($_SESSION['guid']);
-
// Regenerate plugin list
regenerate_plugin_list();
@@ -28,4 +25,4 @@ $title = elgg_view_title(elgg_echo('admin:plugins'));
$main_box = elgg_view("admin/plugins", $vars);
$content = elgg_view_layout("two_column_left_sidebar", '', $title . $main_box);
-page_draw(elgg_echo('admin:plugins'), $content); \ No newline at end of file
+page_draw(elgg_echo('admin:plugins'), $content);
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
+?>