aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/login.php5
-rw-r--r--actions/logout.php9
2 files changed, 0 insertions, 14 deletions
diff --git a/actions/login.php b/actions/login.php
index 4c068b5f4..dbe8990fd 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -12,8 +12,6 @@
*/
// Get username and password
- //require_once('../engine/start.php');
- //global $CONFIG;
$username = get_input('username');
$password = get_input("password");
@@ -35,8 +33,5 @@
} else {
system_message("We couldn't log you in. Make sure your details are correct and please try again.");
}
-
- // header("Location: {$passthru}");
- // exit;
?> \ No newline at end of file
diff --git a/actions/logout.php b/actions/logout.php
index c75a7c30e..fd550c5a4 100644
--- a/actions/logout.php
+++ b/actions/logout.php
@@ -10,10 +10,6 @@
* @copyright Curverider Ltd 2008
* @link http://elgg.org/
*/
-
- //delete this
- require_once('../engine/start.php');
- global $CONFIG;
// Log out
$result = logout();
@@ -25,10 +21,5 @@
} else {
system_message("We couldn't log you out. We're not sure why, to be honest. Try again?");
}
-
- //direct to frontpage
- $url = $CONFIG->url;
- header("Location: {$url}");
- exit;
?> \ No newline at end of file