summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1b9e45e)
raw | patch | inline | side by side (parent: 1b9e45e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Mar 2008 06:47:39 +0000 (06:47 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Mar 2008 06:47:39 +0000 (06:47 +0000) |
-Apply resulted in an empty object list.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9886 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9886 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiHook.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc
index c5e8c47dc0fcf1dd6b8c0c16c5fa1c7e60c8f731..c0aeae24fe43a4b8ff9d1600d6c2c0e2b6fc3fa4 100644 (file)
/* We do not need to save untouched objects */
foreach($this->SubObjects as $name => $obj){
- if($obj['status'] == "FreshLoaded"){
- unset($this->SubObjects[$name]);
- }
- }
-
- foreach($this->SubObjects as $name => $obj){
- if($obj['status'] == "delete"){
- $Objects[$name] = $obj;
- }
- }
- foreach($this->SubObjects as $name => $obj){
- if($obj['status'] != "delete"){
+ if($obj['status'] != "FreshLoaded"){
$Objects[$name] = $obj;
}
}