summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2998ec4)
raw | patch | inline | side by side (parent: 2998ec4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Apr 2008 11:54:10 +0000 (11:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Apr 2008 11:54:10 +0000 (11:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10711 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiTemplate.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index b231f1ef9394ba670380256709de4f9c6c7f21b3..76fdcfaec749128fc9f4c3b0b8e39600c4baac65 100644 (file)
* After deletion, we perform add and modify
*/
$Objects = array();
- foreach($this->SubObjects as $name => $obj){
+ $tmp = $this->SubObjects;
+ foreach($tmp as $name => $obj){
if($obj['status'] == "FreshLoaded"){
- unset($this->SubObjects[$name]);
+ unset($tmp[$name]);
}
}
- foreach($this->SubObjects as $name => $obj){
+ foreach($tmp as $name => $obj){
if($obj['status'] == "delete"){
$Objects[$name] = $obj;
}
}
- foreach($this->SubObjects as $name => $obj){
+ foreach($tmp as $name => $obj){
if($obj['status'] != "delete"){
$Objects[$name] = $obj;
}
FAI::prepare_to_save_FAI_object($sub_dn,$tmp);
$this->handle_post_events("add");
}
-
}
}