From 26ad41b041cadf9f4c00cee0a2401e4eeca94cfa Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 Aug 2009 08:25:38 +0000 Subject: [PATCH] Updated FAI partition handling. -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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2