aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin')
-rw-r--r--views/default/admin/overview/online.php4
-rw-r--r--views/default/admin/users/online.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/admin/overview/online.php b/views/default/admin/overview/online.php
index 19e65a764..00e5c863a 100644
--- a/views/default/admin/overview/online.php
+++ b/views/default/admin/overview/online.php
@@ -8,9 +8,9 @@
// users online
if( (is_plugin_enabled('search')) && (is_plugin_enabled('profile')) ) {
- get_context('search');
+ elgg_push_context('search');
$users_online = get_online_users();
- get_context('admin');
+ elgg_pop_context();
?>
<div class="admin_settings members_list users_online">
diff --git a/views/default/admin/users/online.php b/views/default/admin/users/online.php
index b172b994f..4acaa3f6e 100644
--- a/views/default/admin/users/online.php
+++ b/views/default/admin/users/online.php
@@ -1,9 +1,9 @@
<?php
// users online
if ((is_plugin_enabled('search')) && (is_plugin_enabled('profile'))) {
- get_context('search');
+ elgg_push_context('search');
$users_online = get_online_users();
- get_context('admin');
+ elgg_pop_context();
echo elgg_view_title(elgg_echo('admin:users'));
?>