]> source.dussan.org Git - nextcloud-server.git/commitdiff
Proberly detect variable changes
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 4 Jan 2018 18:10:27 +0000 (19:10 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Thu, 4 Jan 2018 18:10:27 +0000 (19:10 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
lib/private/Template/SCSSCacher.php

index b091e555c1260f8a6ea789b1c38498bd0e2c6c91..60b3c475f65fa999e4caec7c30225ad7011bbe69 100644 (file)
@@ -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) {