diff options
Diffstat (limited to 'views/default/admin/users/online.php')
-rw-r--r-- | views/default/admin/users/online.php | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/views/default/admin/users/online.php b/views/default/admin/users/online.php index 9c0f52c7f..aa3515948 100644 --- a/views/default/admin/users/online.php +++ b/views/default/admin/users/online.php @@ -1,16 +1,9 @@ <?php -// users online -if ((is_plugin_enabled('search')) && (is_plugin_enabled('profile'))) { - elgg_push_context('search'); - $users_online = get_online_users(); - elgg_pop_context(); - - echo elgg_view_title(elgg_echo('admin:users')); - ?> - <div class="admin_settings members-list users_online"> - <h3><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h3> - <?php echo $users_online; ?> - </div> -<?php -}
\ No newline at end of file +$users_online = get_online_users(); + +?> +<div class="admin_settings members-list users_online"> + <h3><?php echo elgg_echo('admin:statistics:label:onlineusers'); ?></h3> + <?php echo $users_online; ?> +</div> |