mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
ticket:15 댓글알리미에서 중복된 알림 무시
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4428 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ca4c3845ac
commit
5df264d01a
5 changed files with 53 additions and 7 deletions
|
|
@ -47,6 +47,24 @@
|
|||
return $siteid;
|
||||
}
|
||||
|
||||
function GetCommentID( $parent_srl, $remoteid )
|
||||
{
|
||||
$args->parent_srl = $parent_srl;
|
||||
$args->remoteid = $remoteid;
|
||||
$output = executeQuery('tccommentnotify.getChildId', $args);
|
||||
if(!$output->data)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
$commentid = $output->data->notified_srl;
|
||||
if( is_array($commentid) )
|
||||
{
|
||||
$commentid = array_shift($commentid);
|
||||
}
|
||||
return $commentid;
|
||||
}
|
||||
|
||||
function GetParentID( $entry, $siteid, $module_srl, $remoteid )
|
||||
{
|
||||
$args->entry = $entry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue