From: psc Date: Fri, 19 Jun 2009 14:47:26 +0000 (+0000) Subject: Apply patch for Trac #2697 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e84b397510aef14a6c7069c141d1ae5d5150eedd;p=gosa.git Apply patch for Trac #2697 Save changes first, before cleaning up FAI-classes wrt to "|removed" information git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13747 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 8e64e3b2a..4a20ab0e7 100644 --- a/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/trunk/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -326,8 +326,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); }