summaryrefslogtreecommitdiffstats
path: root/lib/private/Template
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-26 17:02:54 +0100
committerJulius Härtl <jus@bitgrid.net>2018-01-26 17:02:54 +0100
commit92e93704be82d30a759e7cf3b58c2be9ac0c2e53 (patch)
tree42adfccf9ea94b06645f6f594db3658106bad6ff /lib/private/Template
parentca493ab5b1288d53f203d74117a8e636a606e633 (diff)
downloadnextcloud-server-92e93704be82d30a759e7cf3b58c2be9ac0c2e53.tar.gz
nextcloud-server-92e93704be82d30a759e7cf3b58c2be9ac0c2e53.zip
SCSS files are only cached if their size is > 0
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Template')
-rw-r--r--lib/private/Template/SCSSCacher.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index a4604425544..dd3870b861a 100644
--- a/lib/private/Template/SCSSCacher.php
+++ b/lib/private/Template/SCSSCacher.php
@@ -153,8 +153,9 @@ class SCSSCacher {
return false;
}
}
+ return true;
}
- return true;
+ return false;
} catch(NotFoundException $e) {
return false;
}