mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-06-19 03:17:15 +09:00
issue 225 all comment remove when removed comment of parent.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10968 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
578008f085
commit
ebe22cafa2
3 changed files with 68 additions and 6 deletions
|
|
@ -107,6 +107,17 @@
|
|||
return (int)$output->data->count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of child comments
|
||||
* @param int $comment_srl
|
||||
* @return int
|
||||
*/
|
||||
function getChildComments($comment_srl) {
|
||||
$args->comment_srl = $comment_srl;
|
||||
$output = executeQueryArray('comment.getChildComments', $args);
|
||||
return $output->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the comment
|
||||
* @param int $comment_srl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue