remove session check/destroy stuff, looks problematic

This commit is contained in:
Andrew Dolgov 2013-04-03 19:13:23 +04:00
parent e3ca32a818
commit 6f431804a9
1 changed files with 0 additions and 5 deletions

View File

@ -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, '/');
}
}
}
?>