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/killrequest.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 actions/killrequest.php (limited to 'actions/killrequest.php') diff --git a/actions/killrequest.php b/actions/killrequest.php new file mode 100644 index 000000000..66257230c --- /dev/null +++ b/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