removed deactivateAllUserOrganizationLinks

This commit is contained in:
Charles 2025-10-27 14:06:50 +01:00
parent 772b920a44
commit e4f63c9b85
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class OrganizationController extends AbstractController
throw $this->createNotFoundException(self::NOT_FOUND);
}
$organization->setIsActive(false);
$this->userOrganizationService->deactivateAllUserOrganizationLinks($actingUser, null, $organization);
// $this->userOrganizationService->deactivateAllUserOrganizationLinks($actingUser, null, $organization);
$this->entityManager->persist($organization);
$this->actionService->createAction("Deactivate Organization", $actingUser, $organization, $organization->getName());
return $this->redirectToRoute('organization_index');