aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/statistics.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-24 08:02:18 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-24 08:02:18 -0400
commitd701c3bdf59e2d326c27dd0567323e09a65c00f2 (patch)
tree73c679e85297fd03dfeb0343b755ef898b36a3ca /engine/lib/statistics.php
parentfb0a9d896b9a0bd1193c63badad6a1990afc0109 (diff)
parente29500440b1848f192bc56a1bad89eac69408e7b (diff)
downloadelgg-d701c3bdf59e2d326c27dd0567323e09a65c00f2.tar.gz
elgg-d701c3bdf59e2d326c27dd0567323e09a65c00f2.tar.bz2
Merge squashed pull request #42 from benbro/master - Fixes #3586 by adding a hook for finding active users
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) {