From: Alexander Ebert Date: Fri, 5 Apr 2013 21:57:02 +0000 (+0200) Subject: Reset user storage after install/update/uninstall X-Git-Tag: 2.0.0_Beta_1~390^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca9a7a6ae815b03afebf4c6ea608e5a7370f83ac;p=GitHub%2FWoltLab%2FWCF.git Reset user storage after install/update/uninstall Fixes #1183 --- diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index 461035b118..36334f05d1 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -1,5 +1,7 @@ resetAll(); } if ($this->requireRestructureVersionTables) { diff --git a/wcfsetup/install/files/lib/system/package/PackageUninstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUninstallationDispatcher.class.php index a4a766910f..4a74f07d4c 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUninstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUninstallationDispatcher.class.php @@ -84,6 +84,9 @@ class PackageUninstallationDispatcher extends PackageInstallationDispatcher { // rebuild application paths ApplicationHandler::rebuild(); + + // reset user storage + UserStorageHandler::getInstance()->resetAll(); } if ($this->requireRestructureVersionTables) {