From: Alexander Ebert Date: Thu, 18 Jul 2019 15:12:30 +0000 (+0200) Subject: Unintentional b/c break X-Git-Tag: 5.2.0_Alpha_2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a657b1679296e684ca3a4904f1c8fd7d86432993;p=GitHub%2FWoltLab%2FWCF.git Unintentional b/c break --- diff --git a/wcfsetup/install/files/lib/data/like/Like.class.php b/wcfsetup/install/files/lib/data/like/Like.class.php index f5a7143d61..1adcfc2a9b 100644 --- a/wcfsetup/install/files/lib/data/like/Like.class.php +++ b/wcfsetup/install/files/lib/data/like/Like.class.php @@ -72,6 +72,26 @@ class Like extends DatabaseObject { return 'like_table'; } + /** + * Returns true, if like value is a like. + * + * @return boolean + * @deprecated 5.2 + */ + public function isLike() { + return true; + } + + /** + * Returns true, if like value is a dislike. + * + * @return boolean + * @deprecated 5.2 + */ + public function isDislike() { + return false; + } + /** * Returns the reaction for these like. *