From: Matthias Schmidt Date: Tue, 22 Jun 2021 14:39:23 +0000 (+0200) Subject: Remove deprecated avatar-cropping related methods (#4310) X-Git-Tag: 5.5.0_Alpha_1~618 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdcbc9626a617e480d31bfcbc310e92c9b3d3679;p=GitHub%2FWoltLab%2FWCF.git Remove deprecated avatar-cropping related methods (#4310) These methods are useless and have been deprecated for several years since 2772d4eb46511bc1cdc431bb80c184f8172dd500. --- 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 cc4beb05ca..bdea9fa8e6 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/DefaultAvatar.class.php @@ -120,22 +120,6 @@ SVG; return $this->size; } - /** - * @deprecated 3.0 - */ - public function canCrop() - { - return false; - } - - /** - * @deprecated 3.0 - */ - public function getCropImageTag($size = null) - { - return ''; - } - /** * Returns the perceived luminance of the given color. * diff --git a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php index 62cbe89e20..616c56e1b2 100644 --- a/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php +++ b/wcfsetup/install/files/lib/data/user/avatar/UserAvatar.class.php @@ -141,20 +141,4 @@ class UserAvatar extends DatabaseObject implements IUserAvatar, ISafeFormatAvata { return $this->height; } - - /** - * @deprecated 3.0 - */ - public function getCropImageTag($size = null) - { - return ''; - } - - /** - * @deprecated 3.0 - */ - public function canCrop() - { - return false; - } }