Move function in include/comment.php inside of the comment class. This lets us refer to

these functions like Comment:: making it clear they are static functions of the comment class
This commit is contained in:
Chris Morgan
2006-07-08 22:09:14 +00:00
committed by WineHQ
parent f05c05864e
commit 763ad58bcf
3 changed files with 238 additions and 244 deletions

View File

@@ -70,7 +70,7 @@ while ($oRow = mysql_fetch_object($commentIds))
$hResult = query_parameters($sQuery, $oRow->commentId);
/* call view_app_comment to display the comment */
$oComment_row = mysql_fetch_object($hResult);
view_app_comment($oComment_row);
Comment::view_app_comment($oComment_row);
}
/* display page selection links */