aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-22 18:43:29 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-22 18:43:29 +0000
commite16d25be93c835056a88f91022c9f8d71508d170 (patch)
tree12fa7aa93f9367f0bddb38318ca6ff635ee754d9 /engine/lib
parenta420564b52626639d2fc2d563d6ccd80eef72986 (diff)
downloadelgg-e16d25be93c835056a88f91022c9f8d71508d170.tar.gz
elgg-e16d25be93c835056a88f91022c9f8d71508d170.tar.bz2
Fixes some deprecated notices in admin online user widget.
git-svn-id: http://code.elgg.org/elgg/trunk@9013 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/statistics.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/lib/statistics.php b/engine/lib/statistics.php
index 4e822e8af..cd2b7a6a1 100644
--- a/engine/lib/statistics.php
+++ b/engine/lib/statistics.php
@@ -100,7 +100,11 @@ function get_online_users() {
$objects = find_active_users(600, 10, $offset);
if ($objects) {
- return elgg_view_entity_list($objects, $count, $offset, 10, false);
+ return elgg_view_entity_list($objects, array(
+ 'count' => $count,
+ 'offset' => $offset,
+ 'limit' => 10
+ ));
}
}