From: Matthias Schmidt Date: Mon, 21 Jun 2021 15:37:00 +0000 (+0200) Subject: Remove deprecated TagCloud-related constants and methods (#4325) X-Git-Tag: 5.5.0_Alpha_1~619^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=69da3046db77d59da3a379fa639c58cd61ab5486;p=GitHub%2FWoltLab%2FWCF.git Remove deprecated TagCloud-related constants and methods (#4325) These constants and methods have been deprecated for several years since 3d21a963c9348a63ecafc11abbee8923efbcdcbc. --- diff --git a/wcfsetup/install/files/lib/data/tag/TagCloudTag.class.php b/wcfsetup/install/files/lib/data/tag/TagCloudTag.class.php index 1691c85657..807f25669f 100644 --- a/wcfsetup/install/files/lib/data/tag/TagCloudTag.class.php +++ b/wcfsetup/install/files/lib/data/tag/TagCloudTag.class.php @@ -49,25 +49,4 @@ class TagCloudTag extends DatabaseObjectDecorator { return $this->weight; } - - /** - * Sets the size of the tag. - * - * @param double $size - * @deprecated 3.0 - */ - public function setSize($size) - { - } - - /** - * Returns the size of the tag. - * - * @return double - * @deprecated 3.0 - */ - public function getSize() - { - return (($this->weight - 1) / 6) * 85 + 85; - } } diff --git a/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php b/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php index 14321e00c1..59397389ef 100644 --- a/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php +++ b/wcfsetup/install/files/lib/system/tagging/TagCloud.class.php @@ -16,20 +16,6 @@ use wcf\system\language\LanguageFactory; */ class TagCloud { - /** - * max font size - * @var int - * @deprecated 3.0 - */ - const MAX_FONT_SIZE = 170; - - /** - * min font size - * @var int - * @deprecated 3.0 - */ - const MIN_FONT_SIZE = 85; - /** * list of tags * @var TagCloudTag[]