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 60e601f4ab
commit 68db09ddce
No known key found for this signature in database
GPG key ID: 4C614C6ED2CDE6DF

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;