aboutsummaryrefslogtreecommitdiff
path: root/engine
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
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')
-rw-r--r--engine/classes/ElggUser.php1
-rw-r--r--engine/lib/statistics.php2
2 files changed, 0 insertions, 3 deletions
diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php
index bdf57c2c3..d37a1a10d 100644
--- a/engine/classes/ElggUser.php
+++ b/engine/classes/ElggUser.php
@@ -384,7 +384,6 @@ class ElggUser extends ElggEntity
'relationship' => 'friend',
'relationship_guid' => $this->guid,
'limit' => $limit,
- 'offset' => get_input('offset', 0),
'full_view' => false,
);
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
));
}