aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 18:48:56 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 18:48:56 +0000
commit628239ea178e1690b0520b334e0d552bfbfe8f43 (patch)
tree819101bafd17be1683c2a06f30e6e18d012afa3c
parent7ef25d91cd64f29fb064b29d8695dc50e5c6054d (diff)
downloadelgg-628239ea178e1690b0520b334e0d552bfbfe8f43.tar.gz
elgg-628239ea178e1690b0520b334e0d552bfbfe8f43.tar.bz2
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
-rw-r--r--actions/admin/user/delete.php2
1 files changed, 1 insertions, 1 deletions
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);