aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-12-06 14:04:30 +0100
committerGitHub <noreply@github.com>2022-12-06 14:04:30 +0100
commit8124f683baab63c9004e1372ef8322df5618eec5 (patch)
tree2c4170e24ae47ba46c520e6585427881016c215a /apps/theming/lib
parent7c9c0d1851e922da001fb67eaff43bb521aa3a44 (diff)
parent9597036b7280940c834c623de4bb1716cb6fcf4a (diff)
downloadnextcloud-server-8124f683baab63c9004e1372ef8322df5618eec5.tar.gz
nextcloud-server-8124f683baab63c9004e1372ef8322df5618eec5.zip
Merge pull request #35547 from nextcloud/enh/noid/delete-background-size-variable
delete the --image-background-size variable
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 . "')";
}