diff --git a/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php b/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php
index 7af1a6a..2f9f514 100644
--- a/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php
+++ b/presentation/lookAndFeel/knowledgeTree/discussions/viewDiscussionBL.php
@@ -52,37 +52,6 @@ if (checkSession()) {
if (count($aDocumentThreads) > 0) {
// call the ui function to display the comments
$oPatternCustom->setHtml(getPage($fDocumentID, $aDocumentThreads));
-
-// $sQuery = "SELECT 1 as ForView, dc.subject AS subject, username, date, dc.id AS commentID, dt.document_id AS documentID " .
-// "FROM discussion_comments AS dc " .
-// "INNER JOIN users AS u ON dc.user_id = u.id " .
-// "INNER JOIN discussion_threads AS dt ON dt.id = dc.thread_id " .
-// "WHERE dt.id in ( " . implode(",", $aDocumentThreads) . ") " .
-// "ORDER BY dc.thread_id, dc.id, date ASC";
-//
-// $aColumns = array("subject", "username", "date");
-// $aColumnNames = array("Subject ", "User", "Date");
-// $aColumnTypes = array(3,1,1);
-// $aQueryStringVars = array("fViewComment", "iCommentID", "iDocumentID");
-// $aQueryStringCols = array("ForView", "commentID", "documentID");
-//
-// for ($i = 0; $i < $iNumMax; $i++) {
-// $aHyperLinkURL[$i] = $_SERVER['PHP_SELF'] ;
-// }
-//
-// $oSearchResults = & new PatternTableSqlQuery ($sQuery, $aColumns, $aColumnTypes, $aColumnNames, "100%", $aHyperLinkURL, $aQueryStringCols, $aQueryStringVars);
-// $sToRender .= renderHeading(_("Document Discussion Thread"));
-// $sToRender .= displayDocumentPath($fDocumentID);
-// $oPatternCustom->addHtml($sToRender);
-// $oPatternCustom->addHtml(getPageButtons($fDocumentID));
-// $oPatternCustom->addHtml($oSearchResults->render());
-//
- // On opening, increment the number of views of current thread & update database
-// if($_SESSION['Discussion' . $fDocumentID][0]->bViews !=true ){
-// $oThread->incrementNumberOfViews();
-// if($oThread->Update() == false) $oPatternCustom->addHtml("Failed to update. Please Contact Database Administrator in this regard") ;
-// $_SESSION['Discussion' . $fDocumentID][0]->bViews = true;
-// }
} else { // No current thread, option to create one
$main->setErrorMessage(_("No discussion thread is currently available"));
$oPatternCustom->addHtml(getNewThreadOption($fDocumentID));