diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-04-28 18:23:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-29 00:40:15 -0300 |
commit | 6e215a0874f6a8c6865528c02b3a3d5d8ced5b07 (patch) | |
tree | 6e95716e3ade992782abf9070ef974446e76d3a2 /apps/theming/lib/Controller/ThemingController.php | |
parent | b436e43d686053fbb2ca5fa56c3f256775ba0f18 (diff) | |
download | nextcloud-server-6e215a0874f6a8c6865528c02b3a3d5d8ced5b07.tar.gz nextcloud-server-6e215a0874f6a8c6865528c02b3a3d5d8ced5b07.zip |
Code cleanup and preview for undo actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/Controller/ThemingController.php')
-rw-r--r-- | apps/theming/lib/Controller/ThemingController.php | 2 |
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' => |