Skip to content
Snippets Groups Projects
Verified Commit 1a8078f9 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #202 fusion M2M refactoring

parent 46f8f524
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class AdapterMaarchCourrier ...@@ -30,7 +30,7 @@ class AdapterMaarchCourrier
'mode' => $docserverType['fingerprint_mode'], 'mode' => $docserverType['fingerprint_mode'],
]); ]);
if ($fingerprint['fingerprint'] != $message->fingerprint) { if ($fingerprint != $message->fingerprint) {
echo _PB_WITH_FINGERPRINT_OF_DOCUMENT; echo _PB_WITH_FINGERPRINT_OF_DOCUMENT;
exit; exit;
} }
......
...@@ -544,7 +544,7 @@ class RequestSeda ...@@ -544,7 +544,7 @@ class RequestSeda
$queryParams[] = $docserver_id; $queryParams[] = $docserver_id;
$queryParams[] = $filepath; $queryParams[] = $filepath;
$queryParams[] = $filename; $queryParams[] = $filename;
$queryParams[] = $fingerprint['fingerprint']; $queryParams[] = $fingerprint;
$queryParams[] = $filesize; $queryParams[] = $filesize;
$res = $this->db->query($query, $queryParams); $res = $this->db->query($query, $queryParams);
......
...@@ -162,7 +162,7 @@ while ($state <> 'END') { ...@@ -162,7 +162,7 @@ while ($state <> 'END') {
'mode' => $docserverType['fingerprint_mode'], 'mode' => $docserverType['fingerprint_mode'],
]); ]);
if ($fingerprint['fingerprint'] != $messageExchange->fingerprint) { if ($fingerprint != $messageExchange->fingerprint) {
$GLOBALS['logger']->write(_PB_WITH_FINGERPRINT_OF_DOCUMENT.'. ResId master : ' . $email->res_id, 'ERROR'); $GLOBALS['logger']->write(_PB_WITH_FINGERPRINT_OF_DOCUMENT.'. ResId master : ' . $email->res_id, 'ERROR');
} }
......
...@@ -598,7 +598,7 @@ switch ($mode) { ...@@ -598,7 +598,7 @@ switch ($mode) {
'mode' => $docserverType['fingerprint_mode'], 'mode' => $docserverType['fingerprint_mode'],
]); ]);
if ($fingerprint['fingerprint'] != $messageExchangeData->fingerprint) { if ($fingerprint != $messageExchangeData->fingerprint) {
echo _PB_WITH_FINGERPRINT_OF_DOCUMENT; echo _PB_WITH_FINGERPRINT_OF_DOCUMENT;
exit; exit;
} }
......
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