From cfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821 Mon Sep 17 00:00:00 2001 From: n-aleha Date: Thu, 8 May 2014 23:16:10 +0300 Subject: [PATCH] [ticket/12476] Increase asset version on cache purge Increace the asset version when purging the cache from "ACP > General" PHPBB3-12476 --- phpBB/includes/acp/acp_main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 9c1613e24a..74ea095496 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -349,7 +349,7 @@ class acp_main break; case 'purge_cache': - global $cache; + $config->increment('assets_version', 1); $cache->purge(); // Clear permissions