set domain detached when detach

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 jobs for framasites
Status Job ID Name Coverage
  Test
canceled #41850
test_php7.0

canceled #41851
test_php7.1