1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-05 05:55:15 +02:00

[ticket/12476] Increase asset version on cache purge

Increace the asset version when purging the cache from "ACP > General"

PHPBB3-12476
This commit is contained in:
n-aleha 2014-05-08 23:16:10 +03:00
parent d4fc060bcd
commit cfc0c9bcf9

View File

@ -349,7 +349,7 @@ class acp_main
break;
case 'purge_cache':
global $cache;
$config->increment('assets_version', 1);
$cache->purge();
// Clear permissions