aboutsummaryrefslogtreecommitdiff
path: root/actions/useradd.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-24 15:57:49 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-24 15:57:49 +0000
commit6526a83f52eac96a4c522c041ae5c0bfb24795d8 (patch)
tree999fd86c2a6f37f619c59281790e7c278e65072a /actions/useradd.php
parent1531cecc00c86d2e784cb6b84d24088edf879dcd (diff)
downloadelgg-6526a83f52eac96a4c522c041ae5c0bfb24795d8.tar.gz
elgg-6526a83f52eac96a4c522c041ae5c0bfb24795d8.tar.bz2
Removing calls to engine/start.php in action files.
git-svn-id: http://code.elgg.org/elgg/trunk@3834 36083f99-b078-4883-b0ff-0f9b5a30f544
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;