mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Proberly detect variable changes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
fa95733b0d
commit
cf53560218
1 changed files with 3 additions and 0 deletions
|
|
@ -135,6 +135,9 @@ class SCSSCacher {
|
|||
* @return boolean
|
||||
*/
|
||||
private function isCached($fileNameCSS, ISimpleFolder $folder) {
|
||||
if ($this->variablesChanged()) {
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
$cachedFile = $folder->getFile($fileNameCSS);
|
||||
if ($cachedFile->getSize() > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue