Merge pull request #5007 from nextcloud/fix_scss_cache

Fix scss cache
This commit is contained in:
Lukas Reschke 2017-05-21 22:52:24 +02:00 committed by GitHub
commit 1db93ec7c5
2 changed files with 4 additions and 2 deletions

View file

@ -226,7 +226,9 @@ class SCSSCacher {
try {
$data = $this->rebaseUrls($compiledScss, $webDir);
$cachedfile->putContent($data);
$depFile->putContent(json_encode($scss->getParsedFiles()));
$deps = json_encode($scss->getParsedFiles());
$depFile->putContent($deps);
$this->depsCache->set($folder->getName() . '-' . $depFileName, $deps);
$gzipFile->putContent(gzencode($data, 9));
$this->logger->debug($webDir.'/'.$fileNameSCSS.' compiled and successfully cached', ['app' => 'core']);
return true;

View file

@ -26,7 +26,7 @@
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number.
$OC_Version = array(12, 0, 0, 27);
$OC_Version = array(12, 0, 0, 28);
// The human readable string
$OC_VersionString = '12.0.0';