From: Alexander Ebert Date: Thu, 1 Aug 2013 16:06:30 +0000 (+0200) Subject: Resetting all caches once import has been completed X-Git-Tag: 2.0.0_Beta_7~68^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cca17925e4d0f0511c4403e57688a4d211c24783;p=GitHub%2FWoltLab%2FWCF.git Resetting all caches once import has been completed --- diff --git a/wcfsetup/install/files/lib/system/importer/ImportHandler.class.php b/wcfsetup/install/files/lib/system/importer/ImportHandler.class.php index 4db00f2616..c72910bc1b 100644 --- a/wcfsetup/install/files/lib/system/importer/ImportHandler.class.php +++ b/wcfsetup/install/files/lib/system/importer/ImportHandler.class.php @@ -1,5 +1,9 @@ checkPermissions(array('admin.system.canImportData')); + + // reset caches + CacheHandler::getInstance()->flushAll(); + UserStorageHandler::getInstance()->clear(); } /**