From: hickert Date: Tue, 5 Jun 2007 08:30:49 +0000 (+0000) Subject: Updated disk hanlding X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=51fb20a9dbbbaf383efce360f240c4c2f7a56e88;p=gosa.git Updated disk hanlding git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6547 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc index 6540535a9..cd23610c2 100644 --- a/plugins/admin/fai/class_faiPartitionTable.inc +++ b/plugins/admin/fai/class_faiPartitionTable.inc @@ -457,7 +457,6 @@ class faiPartitionTable extends plugin } /* Create partition dn and add necessary attributes */ - $partition_dn_del = "FAIpartitionNr=".$partition_attrs['FAIpartitionNr'].",".$disk_dn; $partition_attrs['FAIpartitionNr']= $part_nr; $partition_dn= "FAIpartitionNr=".$partition_attrs['FAIpartitionNr'].",".$disk_dn; $partition_attrs['objectClass']= array("top","FAIclass","FAIpartitionEntry"); @@ -487,6 +486,9 @@ class faiPartitionTable extends plugin /* Collect all operations */ if(($partition['status'] == "delete")&&($disk['status']!="new")){ + + $partition_dn_del = "FAIpartitionNr=".$partition['FAIpartitionNr'].",".$disk_dn; + $Todo['delete'][$partition_dn_del] = $partition_attrs; }elseif($partition['status'] == "new"){ $Todo['rest'][$partition_dn] = $partition_attrs;