aboutsummaryrefslogtreecommitdiff
path: root/mod/notifications
diff options
context:
space:
mode:
authorJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:02:11 +0200
committerJerome Bakker <jeabakker@coldtrick.com>2012-10-03 14:02:11 +0200
commit949a3f0c2ea1804577ff69d92f811ced71a79976 (patch)
tree0817ea4d6a936fb3a6493c6ff34a06b6d3e691c7 /mod/notifications
parent766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff)
downloadelgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz
elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2
correct singual usage of type in elgg_get_entities_* functions
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 7838f7e63..c646c1885 100644
--- a/mod/notifications/actions/groupsave.php
+++ b/mod/notifications/actions/groupsave.php
@@ -21,7 +21,7 @@ $groups = array();
$options = array(
'relationship' => 'member',
'relationship_guid' => $user->guid,
- 'types' => 'group',
+ 'type' => 'group',
'limit' => 9999,
);
if ($groupmemberships = elgg_get_entities_from_relationship($options)) {
diff --git a/mod/notifications/groups.php b/mod/notifications/groups.php
index 3347d4054..d29c43e1f 100644
--- a/mod/notifications/groups.php
+++ b/mod/notifications/groups.php
@@ -28,7 +28,7 @@ $people = array();
$groupmemberships = elgg_get_entities_from_relationship(array(
'relationship' => 'member',
'relationship_guid' => $user->guid,
- 'types' => 'group',
+ 'type' => 'group',
'limit' => 9999,
));
diff --git a/mod/notifications/index.php b/mod/notifications/index.php
index cd1857f04..ff03cb274 100644
--- a/mod/notifications/index.php
+++ b/mod/notifications/index.php
@@ -27,7 +27,7 @@ $people = array();
if ($people_ents = elgg_get_entities_from_relationship(array(
'relationship' => 'notify',
'relationship_guid' => $user->guid,
- 'types' => 'user',
+ 'type' => 'user',
'limit' => 99999,
))) {
diff --git a/mod/notifications/views/default/forms/notificationsettings/groupsave.php b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
index 168639ab2..64db8f533 100644
--- a/mod/notifications/views/default/forms/notificationsettings/groupsave.php
+++ b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
@@ -15,7 +15,7 @@ foreach ($NOTIFICATION_HANDLERS as $method => $foo) {
$subsbig[$method] = elgg_get_entities_from_relationship(array(
'relationship' => 'notify' . $method,
'relationship_guid' => $user->guid,
- 'types' => 'group',
+ 'type' => 'group',
'limit' => 99999,
));
$tmparray = array();
diff --git a/mod/notifications/views/default/notifications/subscriptions/forminternals.php b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
index 11f266303..57fa62405 100644
--- a/mod/notifications/views/default/notifications/subscriptions/forminternals.php
+++ b/mod/notifications/views/default/notifications/subscriptions/forminternals.php
@@ -31,7 +31,7 @@ foreach($NOTIFICATION_HANDLERS as $method => $foo) {
$subsbig[$method] = elgg_get_entities_from_relationship(array(
'relationship' => 'notify' . $method,
'relationship_guid' => $user->guid,
- 'types' => 'user',
+ 'type' => 'user',
'limit' => 99999,
));
}