Unverified Commit 01f16326 authored by Benjamin Rousselière's avatar Benjamin Rousselière Committed by Jerome Boucher
Browse files

feat/13334 : add archiveDestructionRequest in medona

parent f8af3909
......@@ -144,7 +144,9 @@ class ArchiveDestructionRequest extends abstractMessage
$message->messageId = \laabs::newId();
$schema = "mades";
if (\laabs::hasBundle('seda')) {
if ($archives[0]->descriptionClass === 'seda2') {
$schema = 'seda2';
} elseif (\laabs::hasBundle('seda')) {
$schema = "seda";
}
$message->schema = $schema;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment