diff options
author | Jerome Bakker <jeabakker@coldtrick.com> | 2012-10-03 14:02:11 +0200 |
---|---|---|
committer | Jerome Bakker <jeabakker@coldtrick.com> | 2012-10-03 14:02:11 +0200 |
commit | 949a3f0c2ea1804577ff69d92f811ced71a79976 (patch) | |
tree | 0817ea4d6a936fb3a6493c6ff34a06b6d3e691c7 /mod/groups | |
parent | 766fe8ebbcc600982dddce4d93b15b65a7b8c1fb (diff) | |
download | elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.gz elgg-949a3f0c2ea1804577ff69d92f811ced71a79976.tar.bz2 |
correct singual usage of type in elgg_get_entities_* functions
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/lib/groups.php | 4 | ||||
-rw-r--r-- | mod/groups/start.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/sidebar/featured.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/groups/sidebar/members.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php index 505cacd01..a9eb6e843 100644 --- a/mod/groups/lib/groups.php +++ b/mod/groups/lib/groups.php @@ -79,7 +79,7 @@ function groups_search_page() { $params = array( 'metadata_name' => 'interests', 'metadata_value' => $tag, - 'types' => 'group', + 'type' => 'group', 'full_view' => FALSE, ); $content = elgg_list_entities_from_metadata($params); @@ -351,7 +351,7 @@ function groups_handle_members_page($guid) { 'relationship' => 'member', 'relationship_guid' => $group->guid, 'inverse_relationship' => true, - 'types' => 'user', + 'type' => 'user', 'limit' => 20, )); diff --git a/mod/groups/start.php b/mod/groups/start.php index c591410c5..9689802eb 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -979,7 +979,7 @@ function discussion_reply_notifications($event, $type, $annotation) { 'relationship' => 'notify' . $method, 'relationship_guid' => $topic->getContainerGUID(), 'inverse_relationship' => true, - 'types' => 'user', + 'type' => 'user', 'limit' => 0, )); diff --git a/mod/groups/views/default/groups/sidebar/featured.php b/mod/groups/views/default/groups/sidebar/featured.php index 8bd51ab5c..f3f8f8d2d 100644 --- a/mod/groups/views/default/groups/sidebar/featured.php +++ b/mod/groups/views/default/groups/sidebar/featured.php @@ -8,7 +8,7 @@ $featured_groups = elgg_get_entities_from_metadata(array( 'metadata_name' => 'featured_group', 'metadata_value' => 'yes', - 'types' => 'group', + 'type' => 'group', 'limit' => 10, )); diff --git a/mod/groups/views/default/groups/sidebar/members.php b/mod/groups/views/default/groups/sidebar/members.php index 11273d0e6..1199a0c34 100644 --- a/mod/groups/views/default/groups/sidebar/members.php +++ b/mod/groups/views/default/groups/sidebar/members.php @@ -20,7 +20,7 @@ $body = elgg_list_entities_from_relationship(array( 'relationship' => 'member', 'relationship_guid' => $vars['entity']->guid, 'inverse_relationship' => true, - 'types' => 'user', + 'type' => 'user', 'limit' => $limit, 'list_type' => 'gallery', 'gallery_class' => 'elgg-gallery-users', |