mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +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 = new stdClass();
|
||||||
$args->comment_srl = $comment_srl;
|
$args->comment_srl = $comment_srl;
|
||||||
$output = executeQuery('comment.getChildCommentCount', $args);
|
$output = executeQuery('comment.getChildCommentCount', $args, NULL, 'master');
|
||||||
return (int) $output->data->count;
|
return (int) $output->data->count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -139,7 +139,7 @@ class commentModel extends comment
|
||||||
{
|
{
|
||||||
$args = new stdClass();
|
$args = new stdClass();
|
||||||
$args->comment_srl = $comment_srl;
|
$args->comment_srl = $comment_srl;
|
||||||
$output = executeQueryArray('comment.getChildComments', $args);
|
$output = executeQueryArray('comment.getChildComments', $args, NULL, 'master');
|
||||||
return $output->data;
|
return $output->data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -248,7 +248,7 @@ class commentModel extends comment
|
||||||
$args->status = 1;
|
$args->status = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = executeQuery('comment.getCommentCount', $args);
|
$output = executeQuery('comment.getCommentCount', $args, NULL, 'master');
|
||||||
$total_count = $output->data->count;
|
$total_count = $output->data->count;
|
||||||
|
|
||||||
return (int) $total_count;
|
return (int) $total_count;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue