aboutsummaryrefslogtreecommitdiff
path: root/actions/add_to_group.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/add_to_group.php')
-rw-r--r--actions/add_to_group.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/actions/add_to_group.php b/actions/add_to_group.php
deleted file mode 100644
index b8c18ebb0..000000000
--- a/actions/add_to_group.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-$event_id = get_input("event_id",0);
-$group_id = get_input("group_id",0);
-$event = get_entity($event_id);
-$group = get_entity($group_id);
-if ($group && $group->canEdit()) {
- add_entity_relationship($event_id, "display_on_group", $group_id );
- system_message(elgg_echo('event_calendar:add_to_group:success'));
-}
-forward($event->getUrl());
-?> \ No newline at end of file