aboutsummaryrefslogtreecommitdiff
path: root/actions/user
diff options
context:
space:
mode:
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;