From a04159090fcba6a503d749014c39b81a75dd2f7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Thu, 16 Oct 2014 13:29:51 +0200
Subject: [PATCH] include the apps' versions hash to invalidate the cached
 assets

---
 lib/private/templatelayout.php | 2 ++
 1 file changed, 2 insertions(+)

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));
 	}
 
-- 
GitLab