diff options
Diffstat (limited to 'apps/theming/lib/Command/UpdateConfig.php')
-rw-r--r-- | apps/theming/lib/Command/UpdateConfig.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/theming/lib/Command/UpdateConfig.php b/apps/theming/lib/Command/UpdateConfig.php index 58dfcff8a8e..8b14a2a9fc6 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 (strpos($value, '/') !== 0) { $output->writeln('<error>The image file needs to be provided as an absolute path: ' . $value . '.</error>'); |