From: hickert Date: Tue, 30 Jun 2009 09:27:12 +0000 (+0000) Subject: Updated fai management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0edf106b0bf1303ae9417cbdfaad8a925c8e7f43;p=gosa.git 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 --- 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); }