From: Cyperghost Date: Wed, 4 Dec 2024 13:00:03 +0000 (+0100) Subject: Remove `defaultCoverPhoto` from bootstrap X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d432b84f53bd32b14f669bba3a450a9599a1174;p=GitHub%2FWoltLab%2FWCF.git Remove `defaultCoverPhoto` from bootstrap --- diff --git a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl index 3c2bb79d09..4c72ec8b21 100644 --- a/com.woltlab.wcf/templates/headIncludeJavaScript.tpl +++ b/com.woltlab.wcf/templates/headIncludeJavaScript.tpl @@ -88,7 +88,6 @@ window.addEventListener('pageshow', function(event) { dynamicColorScheme: {if $__wcf->getStyleHandler()->getColorScheme() === 'system'}true{else}false{/if}, endpointUserPopover: {if $__wcf->getSession()->getPermission('user.profile.canViewUserProfile')}'{link controller='UserPopover'}{/link}'{else}''{/if}, executeCronjobs: {if $executeCronjobs}'{link controller="CronjobPerform"}{/link}'{else}undefined{/if}, - defaultCoverPhoto: '{unsafe:$__wcf->styleHandler->getStyle()->getCoverPhotoUrl()|encodeJS}', {if ENABLE_SHARE_BUTTONS} {assign var='__shareProviders' value="\n"|explode:SHARE_BUTTONS_PROVIDERS} shareButtonProviders: [ diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index b4a34e5d38..88d36daefc 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -115,7 +115,7 @@ {if $user->canEditCoverPhoto()}