From d8d9ce784ba2a05776f194b7923dafd02ccd6391 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 16 Jul 2008 09:36:07 +0000 Subject: Closes #116: Groups join clears invite flags http://trac.elgg.org/elgg/ticket/116 git-svn-id: https://code.elgg.org/elgg/trunk@1434 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/join.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod') diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php index 639ed14da..bf6e95482 100644 --- a/mod/groups/actions/join.php +++ b/mod/groups/actions/join.php @@ -32,6 +32,10 @@ { system_message(elgg_echo("groups:joined")); + // Remove any invite or join request flags + remove_metadata($user->guid, 'group_invite', $group->guid); + remove_metadata($user->guid, 'group_join_request', $group->guid); + forward($group->getURL()); exit; } -- cgit v1.2.3