From c821d37116d3a3940cab6fb438bbfd2c4062ee7e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Nov 2020 11:58:34 +0100 Subject: [PATCH] Remove call to SessionHandler::resetSessions() from UserGroupEditor --- .../files/lib/data/user/group/UserGroupEditor.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php index 9cf1de3d9d..0fbc032cae 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroupEditor.class.php @@ -5,7 +5,7 @@ use wcf\data\IEditableCachedObject; use wcf\system\cache\builder\UserGroupCacheBuilder; use wcf\system\cache\builder\UserGroupPermissionCacheBuilder; use wcf\system\exception\SystemException; -use wcf\system\session\SessionHandler; +use wcf\system\user\storage\UserStorageHandler; use wcf\system\WCF; /** @@ -181,11 +181,11 @@ class UserGroupEditor extends DatabaseObjectEditor implements IEditableCachedObj * @inheritDoc */ public static function resetCache() { - // clear cache + // Clear group cache. UserGroupCacheBuilder::getInstance()->reset(); UserGroupPermissionCacheBuilder::getInstance()->reset(); - // clear sessions - SessionHandler::resetSessions(); + // Clear cached group assignments. + UserStorageHandler::getInstance()->resetAll('groupIDs'); } } -- 2.20.1