delete unused methods.

This commit is contained in:
BJRambo 2016-03-17 07:21:32 +09:00
parent 47da220e43
commit 76a62b0eda
2 changed files with 5 additions and 11 deletions

View file

@ -262,6 +262,11 @@ class ncenterliteController extends ncenterlite
{
$oNcenterliteModel = getModel('ncenterlite');
$config = $oNcenterliteModel->getConfig();
$communication_config = getModel('communication')->getConfig();
if($communication_config->enable_message != 'Y')
{
return new Object();
}
if($config->use != 'Y') return new Object();
if($config->message_notify == 'N')
{
@ -742,16 +747,6 @@ class ncenterliteController extends ncenterlite
return $ouptut;
}
function procNcenterliteNotifyRead()
{
$logged_info = Context::get('logged_info');
$target_srl = Context::get('target_srl');
if(!$logged_info || !$target_srl) return new Object(-1, 'msg_invalid_request');
$output = $this->updateNotifyRead($notify, $logged_info->member_srl);
return $output;
}
function procNcenterliteNotifyReadAll()
{
$logged_info = Context::get('logged_info');