diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-24 10:55:07 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-24 10:55:07 +0000 |
commit | 6772ecfa6b91cdd97c8ad93ea5399b5c62c8ca5d (patch) | |
tree | 138a0832a322295261a9748af00ab16fb291c875 | |
parent | 435a7b152f30061793ddfdd7686784c7a9d2a9ba (diff) | |
download | elgg-6772ecfa6b91cdd97c8ad93ea5399b5c62c8ca5d.tar.gz elgg-6772ecfa6b91cdd97c8ad93ea5399b5c62c8ca5d.tar.bz2 |
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
-rw-r--r-- | mod/groups/actions/delete.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 |