From 2e54eedc16240ddab2efec91e38de73f97e59710 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 10 Mar 2008 11:40:38 +0000 Subject: Messages and actions: fixed! git-svn-id: https://code.elgg.org/elgg/trunk@130 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/logout.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'actions/logout.php') 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 -- cgit v1.2.3