Update comment.model.php

This commit is contained in:
Soonjae Kim 2014-05-13 13:52:41 +09:00
parent fd745953d8
commit 46ec1e8d3b

View file

@ -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;