aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/river/ElggRelationship
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/river/ElggRelationship')
-rw-r--r--mod/groups/views/default/river/ElggRelationship/create.php40
1 files changed, 0 insertions, 40 deletions
diff --git a/mod/groups/views/default/river/ElggRelationship/create.php b/mod/groups/views/default/river/ElggRelationship/create.php
deleted file mode 100644
index df80f3588..000000000
--- a/mod/groups/views/default/river/ElggRelationship/create.php
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
- /**
- * Elgg relationship create event for groups
- * Display something in the river when a group is joined
- *
- * @package ElggGroups
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008
- * @link http://elgg.com/
- */
-
- $statement = $vars['statement'];
-
- $performed_by = $statement->getSubject();
- $event = $statement->getEvent();
- $object = $statement->getObject();
-
- if (is_array($object))
- {
- switch ($object['relationship'])
- {
- // Friending
- case 'member' :
- $user = $object['subject'];
- $group = $object['object'];
-
- if (($user instanceof ElggUser) && ($group instanceof ElggGroup))
- {
- echo "<a href=\"{$user->getURL()}\">{$user->name}</a> ";
- echo elgg_echo("groups:river:member");
- echo " '<a href=\"{$group->getURL()}\">{$group->name}</a>'";
- }
-
- break;
- }
- }
-
-
-?> \ No newline at end of file