aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-10-16 13:29:51 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-16 13:29:51 +0200
commita04159090fcba6a503d749014c39b81a75dd2f7b (patch)
tree8e8eef0c5a5874c6f890d44c15e15c7d0c44ca6a /lib/private
parent6ccda2ae9890d079b4e7c77b3f04e89b63209ef3 (diff)
downloadnextcloud-server-a04159090fcba6a503d749014c39b81a75dd2f7b.tar.gz
nextcloud-server-a04159090fcba6a503d749014c39b81a75dd2f7b.zip
include the apps' versions hash to invalidate the cached assets
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/templatelayout.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php
index 0f8c056139b..9f996e19f81 100644
--- a/lib/private/templatelayout.php
+++ b/lib/private/templatelayout.php
@@ -203,6 +203,8 @@ class OC_TemplateLayout extends OC_Template {
}, $files);
sort($files);
+ // include the apps' versions hash to invalidate the cached assets
+ $files[]= self::$versionHash;
return hash('md5', implode('', $files));
}