Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moveDocumentToTrash 함수에서 before 트리거를 추가했으면 좋겠습니다. #2056

Closed
sejin7940 opened this issue Jan 1, 2023 · 0 comments
Labels
feature request 기능 추가 요청

Comments

@sejin7940
Copy link
Contributor

deleteDocument 함수에는
$output = ModuleHandler::triggerCall('document.deleteDocument', 'before', $trigger_obj);
before 트리거가 있는데

moveDocumentToTrash 함수에는 같은 트리거가 없네요

moveDocumentToTrash 제일 위에 아래 trigger 를 추가해주면 좋을듯합니다

$trigger_obj = new stdClass();
$trigger_obj->document_srl = $obj->document_srl;
$output = ModuleHandler::triggerCall('document.moveDocumentToTrash', 'before', $trigger_obj);
if(!$output->toBool()) return $output;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 기능 추가 요청
Projects
None yet
Development

No branches or pull requests

2 participants