Deprecate UserAvatarAction::fetchRemoteAvatar()
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 20 Apr 2022 10:56:56 +0000 (12:56 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 20 Apr 2022 10:58:40 +0000 (12:58 +0200)
wcfsetup/install/files/lib/data/user/avatar/UserAvatarAction.class.php

index c0105a077cb9d318f1c251a94b5c6c14c753b22b..42ca4cb03f81eb88e0eb4720ef4eaf95565c722f 100644 (file)
@@ -97,7 +97,7 @@ class UserAvatarAction extends AbstractDatabaseObjectAction
     }
 
     /**
-     * Fetches an avatar from a remote server and sets it for given user.
+     * @deprecated 5.5 Use UserProfileAction::setAvatar() instead.
      */
     public function fetchRemoteAvatar()
     {
@@ -229,11 +229,7 @@ class UserAvatarAction extends AbstractDatabaseObjectAction
     }
 
     /**
-     * Enforces dimensions for given avatar.
-     *
-     * @param string $filename
-     * @return  string
-     * @throws  UserInputException
+     * @deprecated 5.5 This is a helper method only used by UserAvatarAction::fetchRemoteAvatar().
      */
     protected function enforceDimensions($filename)
     {