mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Remove unnecessary arguments from query
This commit is contained in:
parent
ce5dc45326
commit
8c0532297b
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue