summaryrefslogtreecommitdiffstats
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-01-26 19:07:30 +0100
commit68db09ddcef57faa58b5747e480347e867d03175 (patch)
treeeff4e05595545f91a87fb9e276298a8a8adc831e
parent60e601f4abb530d0503e43c6dae52b4e63d203ee (diff)
downloadnextcloud-server-68db09ddcef57faa58b5747e480347e867d03175.tar.gz
nextcloud-server-68db09ddcef57faa58b5747e480347e867d03175.zip
Clear injectect variables when resetting the cache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-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;