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/killrequest.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 trunk/actions/killrequest.php (limited to 'trunk/actions/killrequest.php') diff --git a/trunk/actions/killrequest.php b/trunk/actions/killrequest.php new file mode 100644 index 000000000..66257230c --- /dev/null +++ b/trunk/actions/killrequest.php @@ -0,0 +1,23 @@ +guid, 'event_calendar_request', $event->guid)) + { + remove_entity_relationship($user->guid, 'event_calendar_request', $event->guid); + system_message(elgg_echo('event_calendar:requestkilled')); + } + + forward($_SERVER['HTTP_REFERER']); + +?> \ No newline at end of file -- cgit v1.2.3