Merge pull request #7756 from nextcloud/fix-theming-rebase-url

Fix SCSS processing when undoing theming values
This commit is contained in:
Morris Jobke 2018-01-09 17:40:34 +01:00 committed by GitHub
commit 8c9e584c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ class ThemingController extends Controller {
public function undo($setting) { public function undo($setting) {
$value = $this->themingDefaults->undo($setting); $value = $this->themingDefaults->undo($setting);
// reprocess server scss for preview // reprocess server scss for preview
$cssCached = $this->scssCacher->process(\OC::$SERVERROOT, '/core/css/server.scss', 'core'); $cssCached = $this->scssCacher->process(\OC::$SERVERROOT, 'core/css/server.scss', 'core');
if($setting === 'logoMime') { if($setting === 'logoMime') {
try { try {