aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications
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 /mod/notifications
parent2b4ba38bf78e90cbf8c153676c95f562bb500204 (diff)
downloadelgg-f8bee7421d1c3880ba7acb3f8fd16042d598a95f.tar.gz
elgg-f8bee7421d1c3880ba7acb3f8fd16042d598a95f.tar.bz2
better usage of 'limit' in cases where this is irrelevant
Diffstat (limited to 'mod/notifications')
-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
5 files changed, 5 insertions, 5 deletions
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,
));
}