Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-04-28 19:23:15 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-04-29 06:40:15 +0300
commit6e215a0874f6a8c6865528c02b3a3d5d8ced5b07 (patch)
tree6e95716e3ade992782abf9070ef974446e76d3a2 /apps/theming/lib/Controller
parentb436e43d686053fbb2ca5fa56c3f256775ba0f18 (diff)
Code cleanup and preview for undo actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Controller')
-rw-r--r--apps/theming/lib/Controller/ThemingController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index ae3060b1b7d..cffc628e9b9 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -263,6 +263,8 @@ class ThemingController extends Controller {
*/
public function undo($setting) {
$value = $this->themingDefaults->undo($setting);
+ // reprocess server scss for preview
+ $cssCached = $this->scssCacher->process(\OC::$SERVERROOT, '/core/css/server.scss', 'core');
return new DataResponse(
[
'data' =>