From 29792a9858484266952a53268e4fd0dd29b2f4a5 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 28 Jun 2011 18:12:41 -0400 Subject: moved the code into the base directory so that it is easier to work with --- actions/add_to_group.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 actions/add_to_group.php (limited to 'actions/add_to_group.php') diff --git a/actions/add_to_group.php b/actions/add_to_group.php new file mode 100644 index 000000000..b8c18ebb0 --- /dev/null +++ b/actions/add_to_group.php @@ -0,0 +1,11 @@ +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 -- cgit v1.2.3