aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/theming/lib/Command/UpdateConfig.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/theming/lib/Command/UpdateConfig.php b/apps/theming/lib/Command/UpdateConfig.php
index aebb6b9be15..de180db6ce9 100644
--- a/apps/theming/lib/Command/UpdateConfig.php
+++ b/apps/theming/lib/Command/UpdateConfig.php
@@ -111,6 +111,11 @@ class UpdateConfig extends Command {
return 0;
}
+ if ($key === 'background' && $value === 'backgroundColor') {
+ $this->themingDefaults->undo($key);
+ $key = $key . 'Mime';
+ }
+
if (in_array($key, ImageManager::SUPPORTED_IMAGE_KEYS, true)) {
if (!str_starts_with($value, '/')) {
$output->writeln('<error>The image file needs to be provided as an absolute path: ' . $value . '.</error>');