aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-18 18:33:01 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-18 18:33:01 +0000
commit9b41add90d32e2a77bc3c9fdcbb65342166c85b0 (patch)
treee494839a9de0cafba4cdafa72bc4c1f2d92017bf /engine/lib/users.php
parentf3711a1ebee80f0e922f5447b064718c77f979ec (diff)
downloadelgg-9b41add90d32e2a77bc3c9fdcbb65342166c85b0.tar.gz
elgg-9b41add90d32e2a77bc3c9fdcbb65342166c85b0.tar.bz2
Altered the get_user_friends_objects functions to work with containers.
git-svn-id: https://code.elgg.org/elgg/trunk@1475 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/users.php')
-rw-r--r--engine/lib/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index e3e76c8c5..5d5b7c289 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -570,7 +570,7 @@
foreach($friends as $friend) {
$friendguids[] = $friend->getGUID();
}
- return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset);
+ return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, false, 0, $friendguids);
}
return false;
}
@@ -588,7 +588,7 @@
foreach($friends as $friend) {
$friendguids[] = $friend->getGUID();
}
- return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, true);
+ return get_entities('object',$subtype,$friendguids, "time_created desc", $limit, $offset, true, 0, $friendguids);
}
return 0;
}