Unintentional b/c break
authorAlexander Ebert <ebert@woltlab.com>
Thu, 18 Jul 2019 15:12:30 +0000 (17:12 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 18 Jul 2019 15:12:30 +0000 (17:12 +0200)
wcfsetup/install/files/lib/data/like/Like.class.php

index f5a7143d61c7256ba765e4512fc7b9768b17da55..1adcfc2a9b64fc0fe1cbe7f3d49c6bf4fab22104 100644 (file)
@@ -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. 
         *