From 0edf106b0bf1303ae9417cbdfaad8a925c8e7f43 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 Jun 2009 09:27:12 +0000 Subject: [PATCH] Updated fai management -Remove objects correctly, first set removed flag, then vleanup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13835 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index fed11fba7..0099a6863 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -350,8 +350,8 @@ class faiManagement extends plugin $this->dialog->set_acl_base($dn); $this->dialog->by_object[$type[1]]->remove_from_parent (); $this->dialog= FALSE; - $to_del = FAI::clean_up_releases($dn); FAI::save_release_changes_now(); + $to_del = FAI::clean_up_releases($dn); foreach($to_del as $dn){ $ldap->rmdir_recursive($dn); } -- 2.30.2