aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 11:40:38 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-03-10 11:40:38 +0000
commit2e54eedc16240ddab2efec91e38de73f97e59710 (patch)
tree0fe82c618ad03297f8c9c92366a7e3139b12b4dd /actions
parentae0d8fe986218116baba7fe0e20b26789bbe5e24 (diff)
downloadelgg-2e54eedc16240ddab2efec91e38de73f97e59710.tar.gz
elgg-2e54eedc16240ddab2efec91e38de73f97e59710.tar.bz2
Messages and actions: fixed!
git-svn-id: https://code.elgg.org/elgg/trunk@130 36083f99-b078-4883-b0ff-0f9b5a30f544
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