mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
게시글 저장시 첨부파일을 대기 상태로 일괄 변경하여 서비스에 반영되지 않도록 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2900 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
96bf5673f2
commit
dd1aeed2bd
1 changed files with 7 additions and 0 deletions
|
|
@ -434,6 +434,13 @@
|
|||
$obj->document_srl = $output->get('document_srl');
|
||||
}
|
||||
|
||||
// 등록된 첨부파일의 상태를 무효로 지정
|
||||
if($oDocument->hasUploadedFiles()) {
|
||||
$args->upload_target_srl = $oDocument->document_srl;
|
||||
$args->isvalid = 'N';
|
||||
executeQuery('file.updateFileValid', $args);
|
||||
}
|
||||
|
||||
$this->setMessage('success_saved');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue