Fix #1685 보완: 익명 추천 및 스크랩시 회원정보를 처음부터 DB에 저장하지 않도록 변경

This commit is contained in:
Kijin Sung 2021-04-12 23:26:53 +09:00
parent e4f2d8ec25
commit 56aed1fb7b
2 changed files with 11 additions and 7 deletions

View file

@ -695,7 +695,7 @@ class ncenterliteController extends ncenterlite
$args->regdate = date('YmdHis');
$args->notify = $this->_getNotifyId($args);
$args->target_url = getNotEncodedUrl('', 'mid', $module_info->mid, 'document_srl', $obj->document_srl);
$output = $this->_insertNotify($args);
$output = $this->_insertNotify($args, $config->anonymous_scrap !== 'N');
if(!$output->toBool())
{
return $output;
@ -740,7 +740,7 @@ class ncenterliteController extends ncenterlite
$args->notify = $this->_getNotifyId($args);
$args->target_url = getNotEncodedUrl('', 'mid', $module_info->mid, 'document_srl', $obj->document_srl);
$args->module_srl = $obj->module_srl;
$this->_insertNotify($args);
$this->_insertNotify($args, $config->anonymous_voter !== 'N');
}
function triggerAfterDocumentVotedCancel($obj)
@ -813,7 +813,7 @@ class ncenterliteController extends ncenterlite
$args->module_srl = $obj->module_srl;
$args->notify = $this->_getNotifyId($args);
$args->target_url = getNotEncodedUrl('', 'mid', $module_info->mid, 'document_srl', $document_srl, 'comment_srl', $obj->comment_srl) . '#comment_' . $obj->comment_srl;
$this->_insertNotify($args);
$this->_insertNotify($args, $config->anonymous_voter !== 'N');
}
function triggerAfterCommentVotedCancel($obj)