Remove call to SessionHandler::resetSessions() from acp/install.php
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Nov 2020 10:59:44 +0000 (11:59 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 27 Nov 2020 11:02:12 +0000 (12:02 +0100)
wcfsetup/install/files/acp/install.php

index 69c15911f58ed28be84db4bec9b263d3e41594d3..8f2dad32055f9eeec2fdd490e15307ea1efc046f 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-use wcf\system\session\SessionHandler;
+use wcf\system\user\storage\UserStorageHandler;
 use wcf\system\WCF;
 use wcf\util\DateUtil;
 
@@ -15,8 +15,8 @@ $sql = "UPDATE        wcf".WCF_N."_package_installation_plugin
 $statement = WCF::getDB()->prepareStatement($sql);
 $statement->execute([1]);
 
-// reset sessions
-SessionHandler::resetSessions();
+// Clear any outdated cached data from WCFSetup.
+UserStorageHandler::getInstance()->clear();
 
 // update acp templates
 $sql = "UPDATE wcf".WCF_N."_acp_template