ticket:15 댓글알리미에서 중복된 알림 무시

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4428 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-07-31 10:07:43 +00:00
parent ca4c3845ac
commit 5df264d01a
5 changed files with 53 additions and 7 deletions

View file

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