From: Tim Düsterhus Date: Thu, 1 Oct 2020 09:32:15 +0000 (+0200) Subject: Stop loading virtual sessions when a session is being resumed X-Git-Tag: 5.4.0_Alpha_1~724^2~13^2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5ace68fc013ee9313297d4ea4ea47ede1ee186d;p=GitHub%2FWoltLab%2FWCF.git Stop loading virtual sessions when a session is being resumed This change causes the wcf1_session_virtual table to not necessarily contain a row matching the current userAgent and ipAddress, even if the user has a valid session. This is not too bad, considered that after the previous commits the lastActivityTime was not being updated anyway. --- diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index dce3fd4819..5669ccec81 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -429,8 +429,6 @@ class SessionHandler extends SingletonFactory { } $this->user = new User($this->session->userID); - - $this->loadVirtualSession(); } /**