From 7efd6c4b18ff475217fc8fb6189c53dbb32b1dfb Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Mon, 24 Jul 2023 02:57:39 +0900 Subject: [PATCH] Remove unnecessary code in Session class --- common/framework/Session.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/common/framework/Session.php b/common/framework/Session.php index e472d76b8..df7ab46e0 100644 --- a/common/framework/Session.php +++ b/common/framework/Session.php @@ -155,18 +155,6 @@ class Session } } - // If this is a new session, remove conflicting cookies. - // This is temporary code to take care of a bug that was in develop branch for a few days in March 2020. - // It is not needed if you never updated to a buggy develop branch. - /* - if ($cookie_exists && $domain === null && !isset($_SESSION['conflict_clean'])) - { - self::destroyCookiesFromConflictingDomains(array(session_name(), 'rx_autologin', 'rx_sesskey1', 'rx_sesskey2'), true); - session_regenerate_id(); - $_SESSION['conflict_clean'] = true; - } - */ - // Check the login status cookie. self::checkLoginStatusCookie();