diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-01-20 01:57:24 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-05-21 20:36:21 +0200 |
commit | 482395ba2f12b71af115d07f7c99a10613118ac7 (patch) | |
tree | 420ae187e106f30cba69442c4da30b3cb3f98d67 /lib | |
parent | 705335e6a55b9ef0e4ebf0bb83c07efac23e52c8 (diff) | |
download | nextcloud-server-482395ba2f12b71af115d07f7c99a10613118ac7.tar.gz nextcloud-server-482395ba2f12b71af115d07f7c99a10613118ac7.zip |
fix(theming): Also reset background color settings when updating global background image
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Server.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 21e120840db..f62b2426bba 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -171,6 +171,7 @@ use OCA\Files_External\Service\GlobalStoragesService; use OCA\Files_External\Service\UserGlobalStoragesService; use OCA\Files_External\Service\UserStoragesService; use OCA\Theming\ImageManager; +use OCA\Theming\Service\BackgroundService; use OCA\Theming\ThemingDefaults; use OCA\Theming\Util; use OCP\Accounts\IAccountManager; @@ -1190,7 +1191,8 @@ class Server extends ServerContainer implements IServerContainer { $c->get(IURLGenerator::class), $this->get(ICacheFactory::class), $this->get(LoggerInterface::class), - $this->get(ITempManager::class) + $this->get(ITempManager::class), + $this->get(BackgroundService::class), ); return new ThemingDefaults( $c->get(\OCP\IConfig::class), @@ -1201,7 +1203,8 @@ class Server extends ServerContainer implements IServerContainer { new Util($c->get(\OCP\IConfig::class), $this->get(IAppManager::class), $c->getAppDataDir('theming'), $imageManager), $imageManager, $c->get(IAppManager::class), - $c->get(INavigationManager::class) + $c->get(INavigationManager::class), + $c->get(BackgroundService::class), ); } return new \OC_Defaults(); |