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

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

@ -261,6 +261,19 @@
return $output;
}
/**
* @brief 선택된 글들에 대해 신고 취소
**/
function procDocumentAdminCancelDeclare() {
$document_srl = trim(Context::get('document_srl'));
if($document_srl) {
$args->document_srl = $document_srl;
$output = executeQuery('document.deleteDeclaredDocuments', $args);
if(!$output->toBool()) return $output;
}
}
/**
* @brief 모든 생성된 썸네일 삭제
**/