Verified Commit c7700e67 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Fix : Delivery reject

parent 6db2d09f
......@@ -328,7 +328,7 @@ class ArchiveDeliveryRequest extends abstractMessage
true
);
return $archiveDeliveryRequestReplyController->send($messageId, "rejected", $comment);
return $archiveDeliveryRequestReplyController->send($message, null, 'rejected' , $comment);
}
/**
......
......@@ -80,7 +80,7 @@ class ArchiveDeliveryRequestReply extends abstractMessage
*
* @return The reply message generated
*/
public function send($requestMessage, $archives, $replyCode = "000", $comment = null)
public function send($requestMessage, $archives = null, $replyCode = "000", $comment = null)
{
if (is_scalar($requestMessage)) {
$messageId = $requestMessage;
......
......@@ -48,7 +48,7 @@ interface deliveryValidationInterface
* @param string $messageId The message identifier
* @param string $comment The message comment
*
* @uses medona/archiveDelivery/updateRequestyrejection
* @uses medona/archiveDelivery/updateRequestrejection
* @return medona/message/rejectDeliveryRequest
*/
public function updateDelivery_messageId_Reject($messageId, $comment = null);
......
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