From: Alexander Ebert Date: Tue, 24 Aug 2021 15:47:31 +0000 (+0200) Subject: Reset the page cache when modifying the app landing pages X-Git-Tag: 5.4.5_RC_1~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82e0a3b8570c033a9cf526a6610fba1e3306f879;p=GitHub%2FWoltLab%2FWCF.git Reset the page cache when modifying the app landing pages Fixes #4475 --- diff --git a/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php b/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php index 01180e0a84..a3ca319be2 100644 --- a/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/ApplicationManagementForm.class.php @@ -9,6 +9,7 @@ use wcf\data\page\PageNodeTree; use wcf\form\AbstractForm; use wcf\system\application\ApplicationHandler; use wcf\system\cache\builder\ApplicationCacheBuilder; +use wcf\system\cache\builder\PageCacheBuilder; use wcf\system\cache\builder\RoutingCacheBuilder; use wcf\system\exception\PermissionDeniedException; use wcf\system\exception\UserInputException; @@ -205,6 +206,7 @@ final class ApplicationManagementForm extends AbstractForm // Reset caches to reflect the new landing pages. ApplicationCacheBuilder::getInstance()->reset(); + PageCacheBuilder::getInstance()->reset(); RoutingCacheBuilder::getInstance()->reset(); // Reload the applications to update the selected landing page id.