aboutsummaryrefslogtreecommitdiff
path: root/actions/useradd.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/useradd.php')
-rw-r--r--actions/useradd.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/useradd.php b/actions/useradd.php
index 2a8f64fd5..71b8d826d 100644
--- a/actions/useradd.php
+++ b/actions/useradd.php
@@ -8,8 +8,6 @@
* @link http://elgg.org/
*/
-require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
admin_gatekeeper(); // Only admins can add a user
action_gatekeeper();
@@ -50,4 +48,4 @@ try {
}
forward($_SERVER['HTTP_REFERER']);
-exit; \ No newline at end of file
+exit;