public static function deleteCommentsToListing($listing_sid) { $comments = SJB_CommentDBManager::getCommentsToListing($listing_sid); foreach ($comments as $comment) { SJB_CommentDBManager::deleteComment($comment); } }
public static function deleteComment($comment) { return SJB_CommentDBManager::deleteComment($comment); }