Skip to content

Commit

Permalink
refac delete visit command
Browse files Browse the repository at this point in the history
  • Loading branch information
salimkanoun committed Mar 27, 2024
1 parent b2609b6 commit d2bfc30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions GaelO2/app/Console/Commands/DeleteVisitsOlderThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function handle(

$this->gaelODeleteRessourcesRepository->deleteReviews($visitIds, $studyName);
$this->gaelODeleteRessourcesRepository->deleteReviewStatus($visitIds, $studyName);
$this->gaelODeleteRessourcesRepository->deleteTrackerOfVisits($visitIds, $studyEntity->name);
$this->gaelODeleteRessourcesRepository->deleteTrackerOfVisits($visitIds, $studyName);

$dicomSeries = $this->getDicomSeriesOfVisits($visitIds);
$orthancIdArray = array_map(function ($seriesId) {
Expand All @@ -119,10 +119,8 @@ public function handle(
}
}


$this->info('The command was successful !');


return 0;
}

Expand Down

0 comments on commit d2bfc30

Please sign in to comment.