aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/river/relationship
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/river/relationship')
-rw-r--r--mod/groups/views/default/river/relationship/member/create.php14
1 files changed, 3 insertions, 11 deletions
diff --git a/mod/groups/views/default/river/relationship/member/create.php b/mod/groups/views/default/river/relationship/member/create.php
index 060826649..d1c4c3ed3 100644
--- a/mod/groups/views/default/river/relationship/member/create.php
+++ b/mod/groups/views/default/river/relationship/member/create.php
@@ -3,14 +3,6 @@
* Group join river view.
*/
-$object = $vars['item']->getObjectEntity();
-
-$params = array(
- 'href' => $object->getURL(),
- 'text' => $object->name,
-);
-$link = elgg_view('output/url', $params);
-
-echo elgg_echo('groups:river:join');
-
-echo " $link";
+echo elgg_view('river/item', array(
+ 'item' => $vars['item'],
+));