Remove unnecessary arguments from query

This commit is contained in:
Kijin Sung 2021-04-26 00:19:38 +09:00
parent ce5dc45326
commit 8c0532297b

View file

@ -130,7 +130,7 @@ class commentModel extends comment
{
$args = new stdClass();
$args->comment_srl = $comment_srl;
$output = executeQuery('comment.getChildCommentCount', $args, NULL, 'master');
$output = executeQuery('comment.getChildCommentCount', $args);
return (int) $output->data->count;
}
@ -143,7 +143,7 @@ class commentModel extends comment
{
$args = new stdClass();
$args->comment_srl = $comment_srl;
$output = executeQueryArray('comment.getChildComments', $args, NULL, 'master');
$output = executeQueryArray('comment.getChildComments', $args);
return $output->data;
}