Commit 7efe40f9 authored by Alexis Ragot's avatar Alexis Ragot
Browse files

No commit message

No commit message
parent 91538801
......@@ -191,7 +191,7 @@ class ArchiveDeliveryRequest extends abstractMessage
$message->messageId = \laabs::newId();
$schema = "medona";
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/contentDescription') {
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/content') {
$schema = "seda";
}
$message->schema = $schema;
......
......@@ -42,7 +42,7 @@ class ArchiveDestructionNotification extends ArchiveNotification
$message->type = "ArchiveDestructionNotification";
$schema = "medona";
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/contentDescription') {
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/content') {
$schema = "seda";
}
$message->schema = $schema;
......
......@@ -105,7 +105,7 @@ class ArchiveDestructionRequest extends abstractMessage
$message->messageId = \laabs::newId();
$schema = "medona";
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/contentDescription') {
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/content') {
$schema = "seda";
}
$message->schema = $schema;
......
......@@ -46,7 +46,7 @@ class ArchiveModificationNotification extends ArchiveNotification
$message->type = "ArchiveModificationNotification";
$schema = "medona";
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/contentDescription') {
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/content') {
$schema = "seda";
}
$message->schema = $schema;
......
......@@ -129,7 +129,7 @@ class ArchiveRestitutionRequest extends abstractMessage
$message->messageId = \laabs::newId();
$message->schema = "medona";
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/contentDescription') {
if (\laabs::hasBundle('seda') && $archives[0]->descriptionClass == 'archivesPubliques/content') {
$message->schema = "seda";
}
......
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