From 4c382c73796363349b59fc40a05051587a89cbe7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Nov 2020 12:01:26 +0100 Subject: [PATCH] Remove call to SessionHandler::resetSessions() from UserEditor --- wcfsetup/install/files/lib/data/user/UserEditor.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/user/UserEditor.class.php b/wcfsetup/install/files/lib/data/user/UserEditor.class.php index 8000688446..e10f4cd356 100644 --- a/wcfsetup/install/files/lib/data/user/UserEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/UserEditor.class.php @@ -6,9 +6,9 @@ use wcf\data\DatabaseObjectEditor; use wcf\data\IEditableCachedObject; use wcf\system\clipboard\ClipboardHandler; use wcf\system\language\LanguageFactory; -use wcf\system\session\SessionHandler; use wcf\system\user\authentication\password\algorithm\Invalid as InvalidPasswordAlgorithm; use wcf\system\user\authentication\password\PasswordAlgorithmManager; +use wcf\system\user\storage\UserStorageHandler; use wcf\system\WCF; /** @@ -290,6 +290,7 @@ class UserEditor extends DatabaseObjectEditor implements IEditableCachedObject { * @inheritDoc */ public static function resetCache() { - SessionHandler::resetSessions(); + UserStorageHandler::getInstance()->resetAll('groupIDs'); + UserStorageHandler::getInstance()->resetAll('languageIDs'); } } -- 2.20.1