From 628239ea178e1690b0520b334e0d552bfbfe8f43 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 12 Feb 2011 18:48:56 +0000 Subject: Deleting a user from his profile forwards to the right page. git-svn-id: http://code.elgg.org/elgg/trunk@8168 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/admin/user/delete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions/admin/user/delete.php') diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php index 04061ac0c..39a0bc49c 100644 --- a/actions/admin/user/delete.php +++ b/actions/admin/user/delete.php @@ -34,7 +34,7 @@ if (($user instanceof ElggUser) && ($user->canEdit())) { // forward to user administration if on a user's page as it no longer exists $forward = REFERER; if (strpos($_SERVER['HTTP_REFERER'], $username) != FALSE) { - $forward = "pg/admin/user/"; + $forward = "pg/admin/users/newest"; } forward($forward); -- cgit v1.2.3