summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-12-01 19:39:41 +0100
committerSimon L. (Rebase PR Action) <szaimen@e.mail.de>2022-12-05 11:44:19 +0000
commit9597036b7280940c834c623de4bb1716cb6fcf4a (patch)
tree28851d0a0ff1d179aa2032d7ef769223f2f50e74 /apps/theming/lib
parente36e92bacefeac0cf28888b3e528ab97cbc2ed9f (diff)
downloadnextcloud-server-9597036b7280940c834c623de4bb1716cb6fcf4a.tar.gz
nextcloud-server-9597036b7280940c834c623de4bb1716cb6fcf4a.zip
delete the --image-background-size variable
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Themes/CommonThemeTrait.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/theming/lib/Themes/CommonThemeTrait.php b/apps/theming/lib/Themes/CommonThemeTrait.php
index 18d3fb2d814..0305a95b3d5 100644
--- a/apps/theming/lib/Themes/CommonThemeTrait.php
+++ b/apps/theming/lib/Themes/CommonThemeTrait.php
@@ -103,13 +103,6 @@ trait CommonThemeTrait {
foreach (ImageManager::SUPPORTED_IMAGE_KEYS as $image) {
if ($this->imageManager->hasImage($image)) {
$imageUrl = $this->imageManager->getImageUrl($image);
- if ($image === 'background') {
- // If background deleted is set, ignoring variable
- if ($backgroundDeleted) {
- continue;
- }
- $variables['--image-background-size'] = 'cover';
- }
// --image-background is overridden by user theming
$variables["--image-$image"] = "url('" . $imageUrl . "')";
}