From cca17925e4d0f0511c4403e57688a4d211c24783 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 1 Aug 2013 18:06:30 +0200 Subject: [PATCH] Resetting all caches once import has been completed --- .../files/lib/system/importer/ImportHandler.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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(); } /** -- 2.20.1