From: Lukas Reschke Date: Thu, 18 Aug 2016 10:34:55 +0000 (+0200) Subject: Add cache buster to left menu bar X-Git-Tag: v10.0RC1~2^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=95fca9abad23532e7d7446358af1fe1291cc1a93;p=nextcloud-server.git Add cache buster to left menu bar --- diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 2c0d3f05297..a5025d5beda 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -115,7 +115,7 @@ class="active"> - + @@ -133,7 +133,7 @@ class="active"> - + diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 9e3bbf88470..7e5c120717f 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -153,6 +153,7 @@ class TemplateLayout extends \OC_Template { $cssFiles = self::findStylesheetFiles(\OC_Util::$styles); $this->assign('cssfiles', array()); $this->assign('printcssfiles', []); + $this->assign('versionHash', self::$versionHash); foreach($cssFiles as $info) { $web = $info[1]; $file = $info[2];