Пример #1
0
 public static function deleteCommentsToListing($listing_sid)
 {
     $comments = SJB_CommentDBManager::getCommentsToListing($listing_sid);
     foreach ($comments as $comment) {
         SJB_CommentDBManager::deleteComment($comment);
     }
 }
Пример #2
0
 public static function deleteComment($comment)
 {
     return SJB_CommentDBManager::deleteComment($comment);
 }