if use massage notify, communication notify do not use.

This commit is contained in:
BJRambo 2016-03-17 06:13:24 +09:00
parent 7ed2d132d9
commit d8ef4bfb37

View file

@ -820,7 +820,13 @@ class communicationController extends communication
{
return new Object();
}
$ncenterlite_config = getModel('ncenterlite')->getConfig();
if($ncenterlite_config->message_notify == 'Y' && $ncenterlite_config->use == 'Y')
{
return new Object();
}
$config = getModel('communication')->getConfig();
if ($config->enable_message == 'N' || starts_with('dispCommunication', Context::get('act')))
{