]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Deleting a user from his profile forwards to the right page.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 18:48:56 +0000 (18:48 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 12 Feb 2011 18:48:56 +0000 (18:48 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8168 36083f99-b078-4883-b0ff-0f9b5a30f544

actions/admin/user/delete.php

index 04061ac0ca5258af1bc1e4c8b29cd55c2efa9c25..39a0bc49cd0893ccc95578bb36ed500bc531ab76 100644 (file)
@@ -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);