From 337b0fb3c2473c178ef54729eb3c139259faee40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 8 Mar 2021 16:18:07 +0100 Subject: [PATCH] Delete preload data in StyleHandler::resetStylesheet() see d2779a57533b315ce08c3436d9753f16ee1fdbfe --- wcfsetup/install/files/lib/system/style/StyleHandler.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/style/StyleHandler.class.php b/wcfsetup/install/files/lib/system/style/StyleHandler.class.php index 19fe7bef75..6ba426daf1 100644 --- a/wcfsetup/install/files/lib/system/style/StyleHandler.class.php +++ b/wcfsetup/install/files/lib/system/style/StyleHandler.class.php @@ -178,6 +178,8 @@ class StyleHandler extends SingletonFactory @\unlink($stylesheet); } } + + @\unlink(WCF_DIR . 'style/style-' . $style->styleID . '-preload.json'); } /** -- 2.20.1