신고된 게시글/댓글을 신고 취소 시키는 관리자 기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3192 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-12-07 07:05:41 +00:00
parent 7728d75d1f
commit 5cb4cf3d23
15 changed files with 80 additions and 2 deletions

View file

@ -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 특정 모듈의 모든 댓글 삭제
**/