Remove call to SessionHandler::resetSessions() from UserMergeForm
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Nov 2020 11:03:15 +0000 (12:03 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Nov 2020 11:03:15 +0000 (12:03 +0100)
wcfsetup/install/files/lib/acp/form/UserMergeForm.class.php

index d65d7e08d41e148b664ff6d7e3057bf1ce6fc599..fe35d02997fc48e8539f7e033c8585ec2f62eeb9 100644 (file)
@@ -3,12 +3,12 @@ namespace wcf\acp\form;
 use wcf\data\object\type\ObjectTypeCache;
 use wcf\data\user\User;
 use wcf\data\user\UserAction;
+use wcf\data\user\UserEditor;
 use wcf\form\AbstractForm;
 use wcf\system\clipboard\ClipboardHandler;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
 use wcf\system\exception\IllegalLinkException;
 use wcf\system\exception\UserInputException;
-use wcf\system\session\SessionHandler;
 use wcf\system\WCF;
 
 /**
@@ -259,7 +259,7 @@ class UserMergeForm extends AbstractForm {
                
                // reset clipboard
                ClipboardHandler::getInstance()->removeItems($this->objectTypeID);
-               SessionHandler::resetSessions($this->userIDs);
+               UserEditor::resetCache();
                $this->saved();
                
                // show success message