diff options
author | Matt Friedman <maf675@gmail.com> | 2014-03-13 19:09:41 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2014-03-13 19:09:41 -0700 |
commit | 71246a5472a87e5a1918af1e80940371376af9b9 (patch) | |
tree | e5706056190fff21c5f13c8f494ee192afa59e58 | |
parent | 8a61e4b4c0a490125409cd8990a92e0fe6edebdf (diff) | |
download | forums-71246a5472a87e5a1918af1e80940371376af9b9.tar forums-71246a5472a87e5a1918af1e80940371376af9b9.tar.gz forums-71246a5472a87e5a1918af1e80940371376af9b9.tar.bz2 forums-71246a5472a87e5a1918af1e80940371376af9b9.tar.xz forums-71246a5472a87e5a1918af1e80940371376af9b9.zip |
[ticket/11429] Increment asset version on Ext enable
PHPBB3-11429
-rw-r--r-- | phpBB/phpbb/extension/manager.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php index 23b281deaa..993bd1b925 100644 --- a/phpBB/phpbb/extension/manager.php +++ b/phpBB/phpbb/extension/manager.php @@ -212,6 +212,11 @@ class manager $this->cache->purge(); } + if ($active) + { + $this->config->increment('assets_version', 1); + } + return !$active; } |