Added getComments() in thread.php