Merge pull request #364 from bjrambo/pr/taeyeon0309

관리자페이지에서, 쪽지확인메세지를 뜨지않도록 개선.
This commit is contained in:
BJRambo 2016-03-09 20:45:42 +09:00
commit 1b8a41b077

View file

@ -809,7 +809,10 @@ class communicationController extends communication
$logged_info = Context::get('logged_info');
$oCommunicationModel = getModel('communication');
$config = $oCommunicationModel->getConfig();
if($obj->module == 'admin')
{
return new Object();
}
if($config->enable_message == 'N' && $config->enable_friend == 'N')
{
return new Object();