Skip to content

Commit

Permalink
Fix: remove unused old code
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Jul 23, 2017
1 parent 63b8835 commit c934f1b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions htdocs/user/logout.php
Expand Up @@ -50,13 +50,6 @@
// Define url to go after disconnect
$urlfrom=empty($_SESSION["urlfrom"])?'':$_SESSION["urlfrom"];

// Destroy some cookies
// TODO external module
if (! empty($conf->phenix->enabled) && ! empty($conf->phenix->cookie))
{
setcookie($conf->phenix->cookie, '', 1, "/");
}

// Define url to go
$url=DOL_URL_ROOT."/index.php"; // By default go to login page
if ($urlfrom) $url=DOL_URL_ROOT.$urlfrom;
Expand Down

0 comments on commit c934f1b

Please sign in to comment.