From 315043dc6b193677ffedfeffa53c920df189df24 Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Fri, 8 Nov 2024 10:06:26 +0100 Subject: [PATCH] Use `UserAvatarFileProcessor::AVATAR_SIZE` instead of `UserAvatar::AVATAR_SIZE` --- .../install/files/lib/data/user/avatar/DefaultAvatar.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php b/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php index 12f4603a82..08f3cff850 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php @@ -2,6 +2,7 @@ namespace wcf\data\user\avatar; +use wcf\system\file\processor\UserAvatarFileProcessor; use wcf\system\WCF; use wcf\util\StringUtil; @@ -18,7 +19,7 @@ class DefaultAvatar implements IUserAvatar, ISafeFormatAvatar * image size * @var int */ - public $size = UserAvatar::AVATAR_SIZE; + public $size = UserAvatarFileProcessor::AVATAR_SIZE; /** * content of the `src` attribute -- 2.20.1