aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:29:14 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:29:14 +0200
commitf8bee7421d1c3880ba7acb3f8fd16042d598a95f (patch)
tree05f56b2faed21ecfb6c20e199ef34e0680f9f54a /engine
parent2b4ba38bf78e90cbf8c153676c95f562bb500204 (diff)
downloadelgg-f8bee7421d1c3880ba7acb3f8fd16042d598a95f.tar.gz
elgg-f8bee7421d1c3880ba7acb3f8fd16042d598a95f.tar.bz2
better usage of 'limit' in cases where this is irrelevant
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/deprecated-1.8.php2
-rw-r--r--engine/lib/notification.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/deprecated-1.8.php b/engine/lib/deprecated-1.8.php
index 033af90fd..2b4ffcc4f 100644
--- a/engine/lib/deprecated-1.8.php
+++ b/engine/lib/deprecated-1.8.php
@@ -2568,7 +2568,7 @@ $owner_guid = "", $owner_relationship = "") {
'inverse_relationship' => FALSE,
'type' => 'user',
'subtype' => $subtype,
- 'limit' => 9999))
+ 'limit' => false))
) {
$friendsarray = array();
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 738295588..20e32ae55 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -492,7 +492,7 @@ function object_notifications($event, $object_type, $object) {
'relationship_guid' => $object->container_guid,
'inverse_relationship' => TRUE,
'type' => 'user',
- 'limit' => 99999
+ 'limit' => false
));
if ($interested_users && is_array($interested_users)) {