From 49cb6a58b5cdd23a16ea06e07fa5fdfd663cc704 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 17 Apr 2009 18:35:16 +0000 Subject: [PATCH] Add a comment to remember to make a fix of this --- htdocs/user/logout.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/user/logout.php b/htdocs/user/logout.php index f925f358f9a..7013cda6c4f 100644 --- a/htdocs/user/logout.php +++ b/htdocs/user/logout.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2004 Rodolphe Quiedeville * Copyright (C) 2003 Xavier Dutoit * Copyright (C) 2004-2009 Laurent Destailleur * Copyright (C) 2005-2009 Regis Houssin @@ -44,6 +44,8 @@ if ($conf->phenix->enabled && $conf->phenix->cookie) setcookie($conf->phenix->cookie, '', 1, "/"); } +// TODO Should remove this because entity should be saved in session +// and is already destroyed by the session_destroy later. // Multi-Company module if ($conf->multicompany->enabled) { @@ -71,7 +73,7 @@ session_unregister("dol_login"); // Define url to go $url=DOL_URL_ROOT."/index.php"; // By default go to login page -if ($urlfrom) +if ($urlfrom) { $url=DOL_URL_ROOT.$urlfrom; }