summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib/Themes/CommonThemeTrait.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-12-11 15:37:29 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-10-19 11:54:09 +0200
commita024ee1cfe89504932e795d721e9784227a88ada (patch)
treeffb801f87c2408ffabf93d1b292c600019a2c3ab /apps/theming/lib/Themes/CommonThemeTrait.php
parentd10c4c3f6dc619676672655d274c4dc8c87e3138 (diff)
downloadnextcloud-server-a024ee1cfe89504932e795d721e9784227a88ada.tar.gz
nextcloud-server-a024ee1cfe89504932e795d721e9784227a88ada.zip
Fix background removal check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/lib/Themes/CommonThemeTrait.php')
-rw-r--r--apps/theming/lib/Themes/CommonThemeTrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Themes/CommonThemeTrait.php b/apps/theming/lib/Themes/CommonThemeTrait.php
index 1aa1174fabc..eaf76360193 100644
--- a/apps/theming/lib/Themes/CommonThemeTrait.php
+++ b/apps/theming/lib/Themes/CommonThemeTrait.php
@@ -97,7 +97,7 @@ trait CommonThemeTrait {
foreach (ImageManager::SUPPORTED_IMAGE_KEYS as $image) {
if ($this->imageManager->hasImage($image)) {
$imageUrl = $this->imageManager->getImageUrl($image);
- // --image-background is overridden by user theming
+ // --image-background is overridden by user theming if logged in
$variables["--image-$image"] = "url('" . $imageUrl . "')";
}
}