From d8ef4bfb37ba057d53b79cb3c6f0176fdc0326fd Mon Sep 17 00:00:00 2001 From: BJRambo Date: Thu, 17 Mar 2016 06:13:24 +0900 Subject: [PATCH] if use massage notify, communication notify do not use. --- modules/communication/communication.controller.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/communication/communication.controller.php b/modules/communication/communication.controller.php index 3845e8b20..6af77537f 100644 --- a/modules/communication/communication.controller.php +++ b/modules/communication/communication.controller.php @@ -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'))) {