mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
쪽지 발송 권한 설정 다듬기
This commit is contained in:
parent
b8b0e8978a
commit
5d3389a6ff
4 changed files with 50 additions and 74 deletions
|
|
@ -89,7 +89,7 @@ class communicationController extends communication
|
|||
$oCommunicationModel = getModel('communication');
|
||||
$config = $oCommunicationModel->getConfig();
|
||||
|
||||
if(!$oCommunicationModel->checkWriteGrant($config->grant_write))
|
||||
if(!$oCommunicationModel->checkGrant($config->grant_send))
|
||||
{
|
||||
return new Object(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue