[Pkg-owncloud-commits] [owncloud] 11/46: include the apps' versions hash to invalidate the cached assets

David Prévot taffit at moszumanska.debian.org
Fri Oct 24 15:11:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit af72528570e169fc26953a720e9a80f4063c5676
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Thu Oct 16 13:29:51 2014 +0200

    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 03d84b3..56ccbd1 100644
--- a/lib/private/templatelayout.php
+++ b/lib/private/templatelayout.php
@@ -199,6 +199,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));
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list