aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/deprecated-1.8.php2
-rw-r--r--engine/lib/notification.php2
-rw-r--r--mod/groups/start.php2
-rw-r--r--mod/notifications/actions/groupsave.php2
-rw-r--r--mod/notifications/groups.php2
-rw-r--r--mod/notifications/index.php2
-rw-r--r--mod/notifications/views/default/forms/notificationsettings/groupsave.php2
-rw-r--r--mod/notifications/views/default/notifications/subscriptions/forminternals.php2
8 files changed, 8 insertions, 8 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)) {
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 9689802eb..6bdf04d2b 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -538,7 +538,7 @@ function groups_write_acl_plugin_hook($hook, $entity_type, $returnvalue, $params
'relationship' => 'member',
'relationship_guid' => $user_guid,
'inverse_relationship' => FALSE,
- 'limit' => 999
+ 'limit' => false
));
if ($groups) {
diff --git a/mod/notifications/actions/groupsave.php b/mod/notifications/actions/groupsave.php
index c646c1885..d77af41cc 100644
--- a/mod/notifications/actions/groupsave.php
+++ b/mod/notifications/actions/groupsave.php
@@ -22,7 +22,7 @@ $options = array(
'relationship' => 'member',
'relationship_guid' => $user->guid,
'type' => 'group',
- 'limit' => 9999,
+ 'limit' => false,
);
if ($groupmemberships = elgg_get_entities_from_relationship($options)) {
foreach($groupmemberships as $groupmembership) {
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php
index d29c43e1f..973f3493c 100644
--- a/mod/notifications/groups.php
+++ b/mod/notifications/groups.php
@@ -29,7 +29,7 @@ $groupmemberships = elgg_get_entities_from_relationship(array(
'relationship' => 'member',
'relationship_guid' => $user->guid,
'type' => 'group',
- 'limit' => 9999,
+ 'limit' => false,
));
$body = elgg_view_form('notificationsettings/groupsave', array(), array(
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index ff03cb274..a99622efd 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.php
@@ -28,7 +28,7 @@ if ($people_ents = elgg_get_entities_from_relationship(array(
'relationship' => 'notify',
'relationship_guid' => $user->guid,
'type' => 'user',
- 'limit' => 99999,
+ 'limit' => false,
))) {
foreach($people_ents as $ent) {
diff --git a/mod/notifications/views/default/forms/notificationsettings/groupsave.php b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
index 64db8f533..f3e5f693a 100644
--- a/mod/notifications/views/default/forms/notificationsettings/groupsave.php
+++ b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
@@ -16,7 +16,7 @@ foreach ($NOTIFICATION_HANDLERS as $method => $foo) {
'relationship' => 'notify' . $method,
'relationship_guid' => $user->guid,
'type' => 'group',
- 'limit' => 99999,
+ 'limit' => false,
));
$tmparray = array();
if ($subsbig[$method]) {
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index 57fa62405..79a7959ac 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -32,7 +32,7 @@ foreach($NOTIFICATION_HANDLERS as $method => $foo) {
'relationship' => 'notify' . $method,
'relationship_guid' => $user->guid,
'type' => 'user',
- 'limit' => 99999,
+ 'limit' => false,
));
}