aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/statistics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-20 21:20:32 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-20 21:20:32 -0500
commit9cca28b590a5884033c60af5a47aa3dcc383f7f0 (patch)
tree3b1a5f4dc1e3ffc4b40d568649c55b448b1c3a34 /engine/lib/statistics.php
parent1b15e9f33013cc5407ff7620989a3bb027348c41 (diff)
downloadelgg-9cca28b590a5884033c60af5a47aa3dcc383f7f0.tar.gz
elgg-9cca28b590a5884033c60af5a47aa3dcc383f7f0.tar.bz2
Refs #4293 removed unnecessary get_input('offset') calls since elgg_list_entities() calls that
Diffstat (limited to 'engine/lib/statistics.php')
-rw-r--r--engine/lib/statistics.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/engine/lib/statistics.php b/engine/lib/statistics.php
index 7c170f3bb..e1f95ed97 100644
--- a/engine/lib/statistics.php
+++ b/engine/lib/statistics.php
@@ -95,14 +95,12 @@ function get_number_users($show_deactivated = false) {
* @return string
*/
function get_online_users() {
- $offset = get_input('offset', 0);
$count = find_active_users(600, 10, $offset, true);
$objects = find_active_users(600, 10, $offset);
if ($objects) {
return elgg_view_entity_list($objects, array(
'count' => $count,
- 'offset' => $offset,
'limit' => 10
));
}