aboutsummaryrefslogtreecommitdiff
path: root/actions/admin/user/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/admin/user/delete.php')
-rw-r--r--actions/admin/user/delete.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/admin/user/delete.php b/actions/admin/user/delete.php
index c449bfe57..d3a3fd90a 100644
--- a/actions/admin/user/delete.php
+++ b/actions/admin/user/delete.php
@@ -10,6 +10,8 @@
* @link http://elgg.org/
*/
+ require_once("../../../engine/start.php");
+
// block non-admin users
admin_gatekeeper();
@@ -26,4 +28,7 @@
}
else
system_message(elgg_echo('admin:user:delete:no'));
+
+ header("Location: {$CONFIG->wwwroot}admin/user/");
+ exit;
?> \ No newline at end of file