mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
Merge pull request #35547 from nextcloud/enh/noid/delete-background-size-variable
delete the --image-background-size variable
This commit is contained in:
commit
8124f683ba
1 changed files with 0 additions and 7 deletions
|
|
@ -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 . "')";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue