mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
추천 취소시 유저 알림 설정과 상관없이 알림 삭제
This commit is contained in:
parent
3b698f2b28
commit
af430419e2
1 changed files with 2 additions and 8 deletions
|
|
@ -605,14 +605,11 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
return;
|
||||
}
|
||||
if($config->user_notify_setting == 'Y' && $oNcenterliteModel->getUserConfig($obj->member_srl)->data->vote_notify == 'N')
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(!$this->user->member_srl)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$args = new stdClass();
|
||||
$args->type = $this->_TYPE_DOCUMENT;
|
||||
$args->target_type = $this->_TYPE_VOTED;
|
||||
|
|
@ -675,14 +672,11 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
return;
|
||||
}
|
||||
if($config->user_notify_setting == 'Y' && $oNcenterliteModel->getUserConfig($obj->member_srl)->data->vote_notify == 'N')
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(!$this->user->member_srl)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$args = new stdClass();
|
||||
$args->type = $this->_TYPE_COMMENT;
|
||||
$args->target_type = $this->_TYPE_VOTED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue