mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Update comment.model.php
This commit is contained in:
parent
fd745953d8
commit
46ec1e8d3b
1 changed files with 3 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ class commentModel extends comment
|
|||
{
|
||||
$args = new stdClass();
|
||||
$args->comment_srl = $comment_srl;
|
||||
$output = executeQuery('comment.getChildCommentCount', $args);
|
||||
$output = executeQuery('comment.getChildCommentCount', $args, NULL, 'master');
|
||||
return (int) $output->data->count;
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ class commentModel extends comment
|
|||
{
|
||||
$args = new stdClass();
|
||||
$args->comment_srl = $comment_srl;
|
||||
$output = executeQueryArray('comment.getChildComments', $args);
|
||||
$output = executeQueryArray('comment.getChildComments', $args, NULL, 'master');
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
|
|
@ -248,7 +248,7 @@ class commentModel extends comment
|
|||
$args->status = 1;
|
||||
}
|
||||
|
||||
$output = executeQuery('comment.getCommentCount', $args);
|
||||
$output = executeQuery('comment.getCommentCount', $args, NULL, 'master');
|
||||
$total_count = $output->data->count;
|
||||
|
||||
return (int) $total_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue