diff --git a/3rdparty b/3rdparty index d8eb3e1e5164d..f764cac3cb2c6 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit d8eb3e1e5164dacdcb5962a475e67eb3f03043d4 +Subproject commit f764cac3cb2c6a6fb4945dfdc65c49bfb1d8c42a diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 8d9e7aaf060ab..af4898c03db3f 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -32,7 +32,6 @@ use OCP\INavigationManager; use OCP\IRequest; use OCP\IURLGenerator; -use ScssPhp\ScssPhp\Compiler; /** * Class ThemingController @@ -45,7 +44,7 @@ class ThemingController extends Controller { public const VALID_UPLOAD_KEYS = ['header', 'logo', 'logoheader', 'background', 'favicon']; public function __construct( - $appName, + string $appName, IRequest $request, private IConfig $config, private IAppConfig $appConfig, @@ -402,10 +401,7 @@ public function getThemeStylesheet(string $themeId, bool $plain = false, bool $w $css = ":root { $variables } " . $customCss; } else { // If not set, we'll rely on the body class - $compiler = new Compiler(); - $compiledCss = $compiler->compileString("[data-theme-$themeId] { $variables $customCss }"); - $css = $compiledCss->getCss(); - ; + $css = "[data-theme-$themeId] { $variables $customCss }"; } try {