From 20180fa692fed2fb70b80cd47cc9287924b40380 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 14 Aug 2014 21:08:00 +0200 Subject: [PATCH] Add last_update_time option as __wcfVersion replacement The `last_update_time` is updated after package installations and updates so that the JavaScript files are recached by the browsers instead only after a WCF update. This fixes caching problems when updating 3rd party packages. --- com.woltlab.wcf/option.xml | 7 +++ .../templates/googleMapsJavaScript.tpl | 4 +- .../templates/headIncludeJavaScript.tpl | 46 +++++++++---------- com.woltlab.wcf/templates/wysiwyg.tpl | 22 ++++----- .../install/files/acp/templates/header.tpl | 14 +++--- .../install/files/acp/templates/labelAdd.tpl | 2 +- .../files/acp/templates/labelGroupAdd.tpl | 2 +- .../files/acp/templates/languageItemList.tpl | 2 +- .../install/files/acp/templates/styleAdd.tpl | 4 +- .../install/files/acp/templates/styleList.tpl | 2 +- .../install/files/acp/templates/tagAdd.tpl | 2 +- .../install/files/acp/templates/userAdd.tpl | 4 +- .../install/files/lib/system/WCF.class.php | 2 +- .../PackageInstallationDispatcher.class.php | 10 ++++ .../PackageUninstallationDispatcher.class.php | 2 +- 15 files changed, 71 insertions(+), 54 deletions(-) diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 06eff797c6..3de93ba5a8 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -220,6 +220,13 @@ + +