aboutsummaryrefslogtreecommitdiff
path: root/actions/user
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/user
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/user')
-rw-r--r--actions/user/default_access.php3
-rw-r--r--actions/user/language.php1
-rw-r--r--actions/user/name.php3
-rw-r--r--actions/user/password.php3
-rw-r--r--actions/user/passwordreset.php1
-rw-r--r--actions/user/requestnewpassword.php3
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;