From 65770262f6108120a951e0f89df9b8d42158b8fc Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 23 Jun 2008 13:42:13 +0000 Subject: Forwards to http_referer git-svn-id: https://code.elgg.org/elgg/trunk@1057 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/ban.php | 2 +- actions/admin/user/delete.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/admin/user') 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 -- cgit v1.2.3