summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7ec6268)
raw | patch | inline | side by side (parent: 7ec6268)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Aug 2009 06:46:51 +0000 (06:46 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Aug 2009 06:46:51 +0000 (06:46 +0000) |
-Reenabled the old style partitions. Fixed problems while saving.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13987 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13987 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc | patch | blob | history | |
gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
index 5b8eb3138ca127e1fbc1ade3436abef14cf39cef..63bcc0c4bb56b75e6b76c4b0a40cdfd8385e9e72 100644 (file)
break;
case 'old':
$this->dialog = new faiPartitionTableEntry(
- $this->config,$this->dn,$usedDiskNames,$this->disks[$s_entry]);
+ $this->config,$this->dn,$this->getUsedDiskNames(),$this->disks[$s_entry]);
break;
}
}else{
$this->dialog = new faiPartitionTableEntry(
- $this->config,$this->dn,$usedDiskNames,$this->disks[$s_entry]);
+ $this->config,$this->dn,$this->getUsedDiskNames(),$this->disks[$s_entry]);
}
if($this->dialog){
$this->dialog->set_acl_base($this->acl_base_for_current_object($dn));
}
+ function getUsedDiskNames()
+ {
+ return(array());
+ }
+
/* Delete me, and all my subtrees
*/
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc
index 0efc24c103d918707367f568079cf81cc2846e8c..d8a4f5baec668c50408bbc566ef543d174c38422 100644 (file)
/* Attach partitions */
foreach($this->partitions as $key=>$val) {
$this->partitions[$key]['FAIpartitionNr']=$key;
+ $this->partitions[$key]['cn']=$key;
}
/* Attach deleted */