diff options
author | cash <cash.costello@gmail.com> | 2011-06-24 13:42:07 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-06-24 13:42:07 -0400 |
commit | 3c2f72753335a5ca793cf8250c4233d04689e5d2 (patch) | |
tree | 43fb542574f791bc47546e65e24f858c3eec0698 /mod/groups/views/default/river/relationship/member | |
parent | 42e02f03c306717002aac0d36f0e2b48bf369fed (diff) | |
parent | d701c3bdf59e2d326c27dd0567323e09a65c00f2 (diff) | |
download | elgg-3c2f72753335a5ca793cf8250c4233d04689e5d2.tar.gz elgg-3c2f72753335a5ca793cf8250c4233d04689e5d2.tar.bz2 |
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'mod/groups/views/default/river/relationship/member')
-rw-r--r-- | mod/groups/views/default/river/relationship/member/create.php | 14 |
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'], +)); |