From 6f431804a907027dd5dd33b5284b7386b29710fb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 3 Apr 2013 19:13:23 +0400 Subject: [PATCH] remove session check/destroy stuff, looks problematic --- include/sessions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/sessions.php b/include/sessions.php index 539b81a0..15178915 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -181,11 +181,6 @@ if (!defined('TTRSS_SESSION_NAME') || TTRSS_SESSION_NAME != 'ttrss_api_sid') { if (isset($_COOKIE[$session_name])) { @session_start(); - - if (!isset($_SESSION["uid"]) || !$_SESSION["uid"] || !validate_session($session_connection)) { - session_destroy(); - setcookie(session_name(), '', time()-42000, '/'); - } } } ?> -- 2.39.5