Skip to content
Snippets Groups Projects
Verified Commit 6d049747 authored by Damien's avatar Damien
Browse files

FEAT #10599 TIME 0:15 Re process Tnl after action

parent 3ec94edd
No related branches found
No related tags found
No related merge requests found
......@@ -498,6 +498,14 @@ class DocumentController
]);
}
AdrModel::deleteDocumentAdr([
'where' => ['main_document_id = ?', 'type != ?'],
'data' => [$args['id'], 'DOC']
]);
$configPath = CoreConfigModel::getConfigPath();
exec("php src/app/convert/scripts/ThumbnailScript.php '{$configPath}' {$args['id']} 'document' '{$GLOBALS['id']}' > /dev/null &");
EmailController::sendNotificationToNextUserInWorkflow(['documentId' => $args['id'], 'userId' => $GLOBALS['id']]);
HistoryController::add([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment