aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-05-08 23:16:10 +0300
committern-aleha <nick_aleha@myway.com>2014-05-09 01:49:41 +0300
commitcfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821 (patch)
treea9d272e49f575e9e20773b69c92f58f9aaece5d2
parentd4fc060bcd61228fdf78da4f2d290a7a17546c46 (diff)
downloadforums-cfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821.tar
forums-cfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821.tar.gz
forums-cfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821.tar.bz2
forums-cfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821.tar.xz
forums-cfc0c9bcf9cc08f19b0f3234bbf1d5d32519c821.zip
[ticket/12476] Increase asset version on cache purge
Increace the asset version when purging the cache from "ACP > General" PHPBB3-12476
-rw-r--r--phpBB/includes/acp/acp_main.php2
1 files changed, 1 insertions, 1 deletions
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