Loading .gitlab-ci.yml +3 −8 Original line number Diff line number Diff line image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache stages: - publish cache: key: ${CI_COMMIT_REF_SLUG} paths: - vendor/ update-satis: stage: publish image: python:3.9 script: - apt-get update && apt-get -y upgrade && apt-get -y install curl - curl https://gest.unicaen.fr/packagist/update src/UnicaenSynchro/Service/Synchronisation/SynchronisationService.php +1 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,7 @@ class SynchronisationService if ($item['deleted_on'] === null && !isset($data_source[$id])) { $nbRetrait++; // $texte_retrait .= "Retrait de ".$id." des données destination.\n"; $this->getSqlHelperService()->delete($orm_destination, $table_destination, $primarykey_id, $id); $this->getSqlHelperService()->delete($orm_destination, $table_destination, $correspondance[$primarykey_id], $id); } } Loading Loading
.gitlab-ci.yml +3 −8 Original line number Diff line number Diff line image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache stages: - publish cache: key: ${CI_COMMIT_REF_SLUG} paths: - vendor/ update-satis: stage: publish image: python:3.9 script: - apt-get update && apt-get -y upgrade && apt-get -y install curl - curl https://gest.unicaen.fr/packagist/update
src/UnicaenSynchro/Service/Synchronisation/SynchronisationService.php +1 −1 Original line number Diff line number Diff line Loading @@ -168,7 +168,7 @@ class SynchronisationService if ($item['deleted_on'] === null && !isset($data_source[$id])) { $nbRetrait++; // $texte_retrait .= "Retrait de ".$id." des données destination.\n"; $this->getSqlHelperService()->delete($orm_destination, $table_destination, $primarykey_id, $id); $this->getSqlHelperService()->delete($orm_destination, $table_destination, $correspondance[$primarykey_id], $id); } } Loading