aboutsummaryrefslogtreecommitdiff
path: root/actions/logout.php
diff options
context:
space:
mode:
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