diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-24 15:57:49 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-01-24 15:57:49 +0000 |
commit | 6526a83f52eac96a4c522c041ae5c0bfb24795d8 (patch) | |
tree | 999fd86c2a6f37f619c59281790e7c278e65072a /actions/user | |
parent | 1531cecc00c86d2e784cb6b84d24088edf879dcd (diff) | |
download | elgg-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/user')
-rw-r--r-- | actions/user/default_access.php | 3 | ||||
-rw-r--r-- | actions/user/language.php | 1 | ||||
-rw-r--r-- | actions/user/name.php | 3 | ||||
-rw-r--r-- | actions/user/password.php | 3 | ||||
-rw-r--r-- | actions/user/passwordreset.php | 1 | ||||
-rw-r--r-- | actions/user/requestnewpassword.php | 3 |
6 files changed, 4 insertions, 10 deletions
diff --git a/actions/user/default_access.php b/actions/user/default_access.php index 2e08631a1..ee8fb9efa 100644 --- a/actions/user/default_access.php +++ b/actions/user/default_access.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); global $CONFIG; if ($CONFIG->allow_user_default_access) { @@ -36,4 +35,4 @@ if ($CONFIG->allow_user_default_access) { } else { register_error(elgg_echo('user:default_access:fail')); } -}
\ No newline at end of file +} diff --git a/actions/user/language.php b/actions/user/language.php index f0837e1e5..1165b196e 100644 --- a/actions/user/language.php +++ b/actions/user/language.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); global $CONFIG; gatekeeper(); diff --git a/actions/user/name.php b/actions/user/name.php index 19a3422e8..bc14d3184 100644 --- a/actions/user/name.php +++ b/actions/user/name.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); global $CONFIG; gatekeeper(); @@ -34,4 +33,4 @@ if (($user) && ($name)) { } } else { register_error(elgg_echo('user:name:fail')); -}
\ No newline at end of file +} diff --git a/actions/user/password.php b/actions/user/password.php index d2fcb95d8..6e3ff9447 100644 --- a/actions/user/password.php +++ b/actions/user/password.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); global $CONFIG; gatekeeper(); @@ -40,4 +39,4 @@ if (($user) && ($password!="")) { } else { register_error(elgg_echo('user:password:fail:tooshort')); } -}
\ No newline at end of file +} diff --git a/actions/user/passwordreset.php b/actions/user/passwordreset.php index c6d8a70b1..b801cbc22 100644 --- a/actions/user/passwordreset.php +++ b/actions/user/passwordreset.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); global $CONFIG; $user_guid = get_input('u'); diff --git a/actions/user/requestnewpassword.php b/actions/user/requestnewpassword.php index d951e2ede..88a02a4fc 100644 --- a/actions/user/requestnewpassword.php +++ b/actions/user/requestnewpassword.php @@ -8,7 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); global $CONFIG; action_gatekeeper(); @@ -37,4 +36,4 @@ if ($user) { access_show_hidden_entities($access_status); forward(); -exit;
\ No newline at end of file +exit; |