mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 16:59:55 +09:00
게시판 모듈에 최신순/업데이트 순 순서를 정할 수 있도록 기능 추가하고 xe시리즈의 스킨에 반영
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1924 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2759bf5363
commit
89d40258bd
8 changed files with 48 additions and 4 deletions
|
|
@ -378,10 +378,12 @@
|
|||
/**
|
||||
* @brief 해당 document의 댓글 수 증가
|
||||
**/
|
||||
function updateCommentCount($document_srl, $comment_count) {
|
||||
function updateCommentCount($document_srl, $comment_count, $comment_inserted = false) {
|
||||
$args->document_srl = $document_srl;
|
||||
$args->comment_count = $comment_count;
|
||||
|
||||
if($comment_inserted) $args->update_order = -1*getNextSequence();
|
||||
|
||||
return executeQuery('document.updateCommentCount', $args);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue