aboutsummaryrefslogtreecommitdiff
path: root/actions/logout.php
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/logout.php
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/logout.php')
-rw-r--r--actions/logout.php9
1 files changed, 0 insertions, 9 deletions
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