From: hickert Date: Mon, 10 Aug 2009 08:25:38 +0000 (+0000) Subject: Updated FAI partition handling. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26ad41b041cadf9f4c00cee0a2401e4eeca94cfa;p=gosa.git Updated FAI partition handling. -Udpated removal. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14020 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc index 213e9db8c..9508d395f 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc @@ -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);