Skip to content

Commit

Permalink
mark deprecated funtions
Browse files Browse the repository at this point in the history
  • Loading branch information
leemyongpakvn committed Oct 4, 2023
1 parent 799da9d commit b79bfef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ProductCommentCriterion.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class ProductCommentCriterion extends ObjectModel
],
];

/**
* @deprecated 6.0.0
*/
public function delete()
{
if (!parent::delete()) {
Expand Down Expand Up @@ -96,6 +99,8 @@ public function update($nullValues = false)
* Link a Comment Criterion to a product
*
* @return bool succeed
*
* @deprecated 6.0.0
*/
public function addProduct($id_product)
{
Expand All @@ -113,6 +118,8 @@ public function addProduct($id_product)
* Link a Comment Criterion to a category
*
* @return bool succeed
*
* @deprecated 6.0.0
*/
public function addCategory($id_category)
{
Expand Down

0 comments on commit b79bfef

Please sign in to comment.