Use `UserAvatarFileProcessor::AVATAR_SIZE` instead of `UserAvatar::AVATAR_SIZE`
authorCyperghost <olaf_schmitz_1@t-online.de>
Fri, 8 Nov 2024 09:06:26 +0000 (10:06 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Fri, 8 Nov 2024 09:06:26 +0000 (10:06 +0100)
wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php

index 12f4603a822c6adb98c8dd17ef66114e26a63b72..08f3cff850352ce369848fced34d5840f4bcb2c8 100644 (file)
@@ -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