From c07218b9c7b256e998f0a31c0226b3bd6d8011d7 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Mon, 27 Jun 2011 12:49:05 +0200 Subject: added main code --- trunk/actions/add_to_group.php | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 trunk/actions/add_to_group.php (limited to 'trunk/actions/add_to_group.php') diff --git a/trunk/actions/add_to_group.php b/trunk/actions/add_to_group.php new file mode 100644 index 000000000..b8c18ebb0 --- /dev/null +++ b/trunk/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