mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
Merge branch 'develop' into next
This commit is contained in:
commit
5047c39bcf
5 changed files with 40 additions and 16 deletions
|
|
@ -875,6 +875,15 @@ class commentController extends comment
|
|||
{
|
||||
return new BaseObject(-1, 'msg_invalid_request');
|
||||
}
|
||||
$comment = getModel('comment')->getComment($obj->comment_srl);
|
||||
if(!$comment->isExists())
|
||||
{
|
||||
return new BaseObject(-1, 'msg_not_founded');
|
||||
}
|
||||
if(!$is_admin && !$comment->isGranted())
|
||||
{
|
||||
return new BaseObject(-1, 'msg_not_permitted');
|
||||
}
|
||||
|
||||
// call a trigger (before)
|
||||
$output = ModuleHandler::triggerCall('comment.deleteComment', 'before', $comment);
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ $lang->search_target_list['last_update'] = 'Last update';
|
|||
$lang->search_target_list['ipaddress'] = 'IP Address';
|
||||
$lang->search_target_list['is_secret'] = 'Status';
|
||||
$lang->no_text_comment = 'No text in this comment.';
|
||||
$lang->no_text_document = 'No text in this document.';
|
||||
$lang->secret_name_list['Y'] = 'Secret';
|
||||
$lang->secret_name_list['N'] = 'Public';
|
||||
$lang->published_name_list[0] = 'Waiting';
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ $lang->search_target_list['last_update'] = '최근수정일 ';
|
|||
$lang->search_target_list['ipaddress'] = 'IP 주소';
|
||||
$lang->search_target_list['is_secret'] = '상태';
|
||||
$lang->no_text_comment = '글자가 없는 댓글입니다.';
|
||||
$lang->no_text_document = '글자가 없는 게시글입니다.';
|
||||
$lang->secret_name_list['Y'] = '비밀';
|
||||
$lang->secret_name_list['N'] = '공개';
|
||||
$lang->published_name_list[0] = '대기';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue