From 14077e5cf14bb40c4a4541c1cb0e91ed58015cb1 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 Oct 2012 04:06:22 +0200 Subject: [PATCH] Force removal of all caches after WCFSetup Fixes #564 --- .../system/package/PackageInstallationDispatcher.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php index 4392745672..2c21ee17aa 100644 --- a/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php @@ -136,6 +136,11 @@ class PackageInstallationDispatcher { if ($this->action == 'install') { $this->saveLocalizedPackageInfos(); + + // remove all cache files after WCFSetup + if (!PACKAGE_ID) { + CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.*.php'); + } } } -- 2.20.1