diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 13:42:13 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-23 13:42:13 +0000 |
commit | 65770262f6108120a951e0f89df9b8d42158b8fc (patch) | |
tree | a06e2c043e2edfa94f66a9ecc1bb1f62c2db1806 /actions/admin | |
parent | 99494b7a7426ad90ed6ce3b57a8a1b02ccdea631 (diff) | |
download | elgg-65770262f6108120a951e0f89df9b8d42158b8fc.tar.gz elgg-65770262f6108120a951e0f89df9b8d42158b8fc.tar.bz2 |
Forwards to http_referer
git-svn-id: https://code.elgg.org/elgg/trunk@1057 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/admin')
-rw-r--r-- | actions/admin/user/ban.php | 2 | ||||
-rw-r--r-- | actions/admin/user/delete.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/admin/user/ban.php b/actions/admin/user/ban.php index 5f2e214c4..51884b223 100644 --- a/actions/admin/user/ban.php +++ b/actions/admin/user/ban.php @@ -29,6 +29,6 @@ else system_message(elgg_echo('admin:user:ban:no')); - header("Location: {$CONFIG->wwwroot}admin/user/"); + forward($_SERVER['HTTP_REFERER']); exit; ?>
\ No newline at end of file diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php index 9c2a83e28..015d25371 100644 --- a/actions/admin/user/delete.php +++ b/actions/admin/user/delete.php @@ -29,6 +29,6 @@ else system_message(elgg_echo('admin:user:delete:no')); - header("Location: {$CONFIG->wwwroot}admin/user/"); + forward($_SERVER['HTTP_REFERER']); exit; ?>
\ No newline at end of file |