Code

Updated FAI partition handling.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Aug 2009 08:25:38 +0000 (08:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 Aug 2009 08:25:38 +0000 (08:25 +0000)
-Udpated removal.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14020 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc

index 213e9db8cfafe89ce504c8fc46628edc1866e877..9508d395ff4bad927aecb011bce49c8ee9019fe2 100644 (file)
@@ -431,7 +431,7 @@ class faiPartitionTable extends plugin
 
     FAI::prepare_to_save_FAI_object($use_dn,array(),true);
     new log("remove","fai/".get_class($this),$use_dn,$this->attributes);   
-    foreach($this->disks as $disk){
+    foreach($this->initial_disks as $disk){
       $disk_dn = "cn=".$disk['cn'].",".$this->dn;
       $use_dn = preg_replace("/".preg_quote(FAI::get_release_dn($this->dn), '/')."/i",$release, $disk_dn);
       FAI::prepare_to_save_FAI_object($use_dn,array(),true);