]> source.dussan.org Git - nextcloud-server.git/commitdiff
include the apps' versions hash to invalidate the cached assets
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 16 Oct 2014 11:29:51 +0000 (13:29 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 16 Oct 2014 11:29:51 +0000 (13:29 +0200)
lib/private/templatelayout.php

index 0f8c056139b25f54b859cf95d89bba0ba2a30475..9f996e19f8189315fdcdd6ff31c1a7f091ee51e3 100644 (file)
@@ -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));
        }