mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
communication return by admin page.
This commit is contained in:
parent
76adbde9ce
commit
686ea0cd04
1 changed files with 4 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue