mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 12:49:55 +09:00
Comment fix, Check update refine.
모듈이 비활성화 되어 있을때는 트리거가 없는게 정상 이므로, 업데이트 메시지를 표시하지 않습니다. 주석이 반대로 적힌 부분이 있어서 수정합니다.
This commit is contained in:
parent
e75983768f
commit
c13690bfd5
2 changed files with 8 additions and 4 deletions
|
|
@ -76,10 +76,14 @@ class communication extends ModuleObject
|
|||
}
|
||||
}
|
||||
|
||||
// Create triggers
|
||||
foreach($this->triggers as $trigger)
|
||||
// check if module is abled
|
||||
if($config->able_module != 'N')
|
||||
{
|
||||
if(!$oModuleModel->getTrigger($trigger[0], $trigger[1], $trigger[2], $trigger[3], $trigger[4])) return true;
|
||||
// Check triggers
|
||||
foreach($this->triggers as $trigger)
|
||||
{
|
||||
if(!$oModuleModel->getTrigger($trigger[0], $trigger[1], $trigger[2], $trigger[3], $trigger[4])) return true;
|
||||
}
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue