revert session destroy to avoid warning

This commit is contained in:
Thomas Citharel 2015-05-22 18:54:55 +02:00
parent 7106983464
commit 9730853564

View file

@ -36,8 +36,6 @@ if (isset($_SERVER['HTTP_COOKIE'])) {
if (isset($_SESSION['poche_user'])) { if (isset($_SESSION['poche_user'])) {
unset($_SESSION['poche_user']); unset($_SESSION['poche_user']);
} }
session_destroy();
if (isset($_GET['clean'])) { if (isset($_GET['clean'])) {
if (is_dir('install')){ if (is_dir('install')){