From 6772ecfa6b91cdd97c8ad93ea5399b5c62c8ca5d Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 24 Feb 2009 10:55:07 +0000 Subject: when deleting a group you now go back to your groups git-svn-id: https://code.elgg.org/elgg/trunk@2915 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/delete.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/groups/actions/delete.php b/mod/groups/actions/delete.php index f75faee76..e68b0d860 100644 --- a/mod/groups/actions/delete.php +++ b/mod/groups/actions/delete.php @@ -14,5 +14,6 @@ else register_error(elgg_echo('group:notdeleted')); - forward($_SERVER['HTTP_REFERER']); + $url_name = $_SESSION['user']->username; + forward("{$vars['url']}pg/groups/member/{$url_name}"); ?> \ No newline at end of file -- cgit v1.2.3