Clear injectect variables when resetting the cache

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-01-26 19:07:30 +01:00
parent 76c79ff18f
commit cee941a6a3
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 0 deletions

View File

@ -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;