aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/statistics.php
diff options
context:
space:
mode:
authorbenbro <ben.browitt@gmail.com>2011-06-20 08:43:09 +0300
committerCash Costello <cash.costello@gmail.com>2011-06-24 08:00:20 -0400
commite29500440b1848f192bc56a1bad89eac69408e7b (patch)
tree12759fd85035296bcc3018f923e2bd50562669f7 /engine/lib/statistics.php
parent8edfc55bc7ee99955b3c82a59312df8c9d840bb7 (diff)
downloadelgg-e29500440b1848f192bc56a1bad89eac69408e7b.tar.gz
elgg-e29500440b1848f192bc56a1bad89eac69408e7b.tar.bz2
added find_active_users hook
Diffstat (limited to 'engine/lib/statistics.php')
-rw-r--r--engine/lib/statistics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/statistics.php b/engine/lib/statistics.php
index cd2b7a6a1..1232c6128 100644
--- a/engine/lib/statistics.php
+++ b/engine/lib/statistics.php
@@ -96,7 +96,7 @@ function get_number_users($show_deactivated = false) {
*/
function get_online_users() {
$offset = get_input('offset', 0);
- $count = count(find_active_users(600, 9999));
+ $count = find_active_users(600, 10, $offset, true);
$objects = find_active_users(600, 10, $offset);
if ($objects) {