From 69da3046db77d59da3a379fa639c58cd61ab5486 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 21 Jun 2021 17:37:00 +0200 Subject: [PATCH] Remove deprecated TagCloud-related constants and methods (#4325) These constants and methods have been deprecated for several years since 3d21a963c9348a63ecafc11abbee8923efbcdcbc. --- .../files/lib/data/tag/TagCloudTag.class.php | 21 ------------------- .../lib/system/tagging/TagCloud.class.php | 14 ------------- 2 files changed, 35 deletions(-) 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[] -- 2.20.1