불필요한 조건문 삭제

This commit is contained in:
BJRambo 2021-02-03 12:58:27 +09:00
parent c6614a9d02
commit 041860f9ee
5 changed files with 56 additions and 65 deletions

View file

@ -69,7 +69,7 @@ class ncenterliteView extends ncenterlite
}
$user_config = NcenterliteModel::getUserConfig($member_srl) ?: new stdClass;
$notify_types = NcenterliteModel::getNotifyTypes();
$notify_types = NcenterliteModel::getUserSetNotifyTypes();
foreach ($notify_types as $type => $srl)
{
$user_config->{$type . '_notify'} = $user_config->{$type} ? 'Y' : 'N';