Commit 71f57dc9 authored by Thomas Citharel's avatar Thomas Citharel 🌲

set domain detached when detach

Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent e4daddd4
Pipeline #26091 canceled with stage
......@@ -604,6 +604,7 @@ class DomainController extends Controller
$em = $this->getDoctrine()->getManager();
$domain->removeSite();
$domain->setStatus(Domain::DOMAIN_DETACHED);
$em->persist($domain);
$em->flush();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment