We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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;
The text was updated successfully, but these errors were encountered:
Fix 2056 add trigger before moving document/comment to trash
33b2c79
No branches or pull requests
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;
The text was updated successfully, but these errors were encountered: