mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
신고된 게시글/댓글을 신고 취소 시키는 관리자 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3192 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7728d75d1f
commit
5cb4cf3d23
15 changed files with 80 additions and 2 deletions
|
|
@ -43,6 +43,19 @@
|
|||
$this->setMessage( sprintf(Context::getLang('msg_checked_comment_is_deleted'), $deleted_count) );
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 신고대상을 취소 시킴
|
||||
**/
|
||||
function procCommentAdminCancelDeclare() {
|
||||
$comment_srl = trim(Context::get('comment_srl'));
|
||||
|
||||
if($comment_srl) {
|
||||
$args->comment_srl = $comment_srl;
|
||||
$output = executeQuery('comment.deleteDeclaredComments', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 특정 모듈의 모든 댓글 삭제
|
||||
**/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue