Skip to content

Commit

Permalink
fix: Fixed an issue when deleting an application in the backend module
Browse files Browse the repository at this point in the history
  • Loading branch information
paeddym authored Nov 7, 2024
1 parent c136757 commit 19da54f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Controller/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ public function showApplicationAction(Application $application): ResponseInterfa
$this->applicationRepository->remove($application);
$this->applicationFileService->deleteApplicationFolder($this->applicationFileService->getApplicantFolder($application), $fileStorage);
$this->persistenceManager->persistAll();
$this->redirect('listApplications', 'Backend', 'jobapplications');

return $this->redirect('listApplications', 'Backend', 'jobapplications');
}

// Handles status change request
Expand Down

0 comments on commit 19da54f

Please sign in to comment.