mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#18973659 document trash/ restore 시 트리거 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7553 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7cd5b7dea7
commit
248373bc2c
2 changed files with 20 additions and 1 deletions
|
|
@ -529,6 +529,15 @@
|
|||
executeQuery('file.updateFileValid', $args);
|
||||
}
|
||||
|
||||
// trigger 호출 (after)
|
||||
if($output->toBool()) {
|
||||
$trigger_output = ModuleHandler::triggerCall('document.restoreTrash', 'after', $document_args);
|
||||
if(!$trigger_output->toBool()) {
|
||||
$oDB->rollback();
|
||||
return $trigger_output;
|
||||
}
|
||||
}
|
||||
|
||||
// commit
|
||||
$oDB->commit();
|
||||
return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue