summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e495835)
raw | patch | inline | side by side (parent: e495835)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jun 2007 08:30:49 +0000 (08:30 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 5 Jun 2007 08:30:49 +0000 (08:30 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6547 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPartitionTable.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index 6540535a97545f51d5da26d2310bfe24757375ed..cd23610c2c15a7af5fea9bdb363c46df012aa53a 100644 (file)
}
/* 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");
/* 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;