Code

Updated FAI partition handling
[gosa.git] / gosa-plugins / fai / admin / fai / class_faiManagement.inc
index fed11fba7330dec70b072ba63daa92410d92f260..0099a68637175dc13b4b3d10156e08a9d27fd054 100644 (file)
@@ -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);
           }