From a657b1679296e684ca3a4904f1c8fd7d86432993 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Jul 2019 17:12:30 +0200 Subject: [PATCH] Unintentional b/c break --- .../files/lib/data/like/Like.class.php | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) 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. * -- 2.20.1