mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
추천취소시 알림 삭제 조건(가독성 등) 개선
This commit is contained in:
parent
af430419e2
commit
6f4e1839a0
1 changed files with 6 additions and 6 deletions
|
|
@ -566,7 +566,7 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
return;
|
||||
}
|
||||
if($obj->point < 0)
|
||||
if($obj->update_target !== 'voted_count')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -597,11 +597,11 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
$oNcenterliteModel = getModel('ncenterlite');
|
||||
$config = $oNcenterliteModel->getConfig();
|
||||
if(!isset($config->use['vote']))
|
||||
if(empty($config->use))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if($obj->point < 0)
|
||||
if($obj->update_target !== 'voted_count')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -630,7 +630,7 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
return;
|
||||
}
|
||||
if($obj->point < 0)
|
||||
if($obj->update_target !== 'voted_count')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -664,11 +664,11 @@ class ncenterliteController extends ncenterlite
|
|||
{
|
||||
$oNcenterliteModel = getModel('ncenterlite');
|
||||
$config = $oNcenterliteModel->getConfig();
|
||||
if(!isset($config->use['vote']))
|
||||
if(empty($config->use))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if($obj->point < 0)
|
||||
if($obj->update_target !== 'voted_count')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue