mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Remove unnecessary code in Session class
This commit is contained in:
parent
899f65981d
commit
7efd6c4b18
1 changed files with 0 additions and 12 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue