mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 04:52:14 +09:00
Hide friend-only option if friend feature is disabled in communication module
This commit is contained in:
parent
712287d564
commit
b8fc4ca46f
1 changed files with 6 additions and 0 deletions
|
|
@ -833,6 +833,12 @@ class communicationController extends communication
|
||||||
{
|
{
|
||||||
$oMemberController->addMemberMenu('dispCommunicationFriend', 'cmd_view_friend');
|
$oMemberController->addMemberMenu('dispCommunicationFriend', 'cmd_view_friend');
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$allow_message_type = lang('communication.allow_message_type');
|
||||||
|
unset($allow_message_type['F']);
|
||||||
|
$GLOBALS['lang']->set('communication.allow_message_type', $allow_message_type);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function triggerMemberMenu()
|
function triggerMemberMenu()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue