From f6ff517215d63d55c47a212a7a3ee477d4def791 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 3 Jul 2008 18:54:08 +0000 Subject: End of day commit of first (semi working) code. Working: - Join/leave on public groups - Create / edit groups Not working: - Private groups - the skin/display of the group - profile main page - widgets Refs #109 Closes #115 git-svn-id: https://code.elgg.org/elgg/trunk@1279 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/leave.php | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 mod/groups/actions/leave.php (limited to 'mod/groups/actions/leave.php') diff --git a/mod/groups/actions/leave.php b/mod/groups/actions/leave.php new file mode 100644 index 000000000..87f976b3e --- /dev/null +++ b/mod/groups/actions/leave.php @@ -0,0 +1,39 @@ +leave($user)) + system_message(elgg_echo("groups:left")); + else + system_message(elgg_echo("groups:cantleave")); + } + else + system_message(elgg_echo("groups:cantleave")); + + forward($_SERVER['HTTP_REFERER']); + exit; +?> \ No newline at end of file -- cgit v1.2.3