diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-08-16 08:51:43 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-08-16 08:51:43 +0200 |
commit | 0ea23cad0eefacf2bad73ce3c50bb659480e3f56 (patch) | |
tree | 24911130d8c3129fbb2dc16a759f7d8558d1f284 /apps/theming/lib | |
parent | 4c6be330ef927c2f9881fc54b2e090ec254f3af6 (diff) | |
download | nextcloud-server-0ea23cad0eefacf2bad73ce3c50bb659480e3f56.tar.gz nextcloud-server-0ea23cad0eefacf2bad73ce3c50bb659480e3f56.zip |
Revert "Fix unit tests for the theming app"
This reverts commit 13ca01ee1256dba54d1e2793bd409d3b7c8d6058.
Diffstat (limited to 'apps/theming/lib')
-rw-r--r-- | apps/theming/lib/Themes/DefaultTheme.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/lib/Themes/DefaultTheme.php b/apps/theming/lib/Themes/DefaultTheme.php index 6158d79a224..2908d365a4a 100644 --- a/apps/theming/lib/Themes/DefaultTheme.php +++ b/apps/theming/lib/Themes/DefaultTheme.php @@ -191,6 +191,7 @@ class DefaultTheme implements ITheme { '--background-invert-if-bright' => 'invert(100%)', ]; + // Register image variables only if custom-defined $backgroundDeleted = $this->config->getAppValue('theming', 'backgroundMime', '') === 'backgroundColor'; foreach(['logo', 'logoheader', 'favicon', 'background'] as $image) { if ($this->imageManager->hasImage($image)) { |