aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-26 19:07:30 +0100
committerJulius Härtl <jus@bitgrid.net>2018-02-02 13:05:52 +0100
commitcee941a6a32a9b04b46b1425abe5a1a79dc259a8 (patch)
tree617d53d7e982ea8b9e911a7a25f2fe6de948a3a9 /lib
parent76c79ff18f4b23fd93702bb541ee72b338b3ed5e (diff)
downloadnextcloud-server-cee941a6a32a9b04b46b1425abe5a1a79dc259a8.tar.gz
nextcloud-server-cee941a6a32a9b04b46b1425abe5a1a79dc259a8.zip
Clear injectect variables when resetting the cache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Template/SCSSCacher.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index 1c4650ea1b7..391138255b0 100644
--- a/lib/private/Template/SCSSCacher.php
+++ b/lib/private/Template/SCSSCacher.php
@@ -254,6 +254,7 @@ class SCSSCacher {
* We need to regenerate all files when variables change
*/
private function resetCache() {
+ $this->injectedVariables = null;
$appDirectory = $this->appData->getDirectoryListing();
if(empty($appDirectory)){
return;