mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@918 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f724024ace
commit
2cf7d0223f
4 changed files with 33 additions and 0 deletions
|
|
@ -106,6 +106,12 @@
|
|||
$oEditorController = &getController('editor');
|
||||
$oEditorController->deleteSavedDoc();
|
||||
|
||||
// 첨부 파일이 있었을 경우 해당 첨부파일들의 valid값을 Y로 변경
|
||||
if($obj->uploaded_count) {
|
||||
$oFileController = &getController('file');
|
||||
$oFileController->setFilesValid($obj->document_srl);
|
||||
}
|
||||
|
||||
// return
|
||||
$this->addGrant($obj->document_srl);
|
||||
$output->add('document_srl',$obj->document_srl);
|
||||
|
|
@ -188,6 +194,12 @@
|
|||
if($obj->category_srl) $this->updateCategoryCount($obj->category_srl);
|
||||
}
|
||||
|
||||
// 첨부 파일이 있었을 경우 해당 첨부파일들의 valid값을 Y로 변경
|
||||
if($obj->uploaded_count) {
|
||||
$oFileController = &getController('file');
|
||||
$oFileController->setFilesValid($obj->document_srl);
|
||||
}
|
||||
|
||||
// 자동 저장 문서 삭제
|
||||
$oEditorController = &getController('editor');
|
||||
$oEditorController->deleteSavedDoc();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue