From 3e849c67b4e8372b3b917a51f3bb6960486cedb1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 17 Sep 2009 08:20:40 +0000 Subject: [PATCH] Reverted "periodical" changes in Daemon Handler git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14263 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 90005169a..05817d193 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -842,15 +842,8 @@ class gosaSupportDaemon foreach($data as $key => $value){ $key = strtolower($key); if(is_array($value)){ - if($key == "periodic"){ - foreach($value as $sub_name => $sub_value){ - $attr.= "$sub_name"; - $attr.= "<$sub_name>$sub_value"; - } - }else{ - foreach($value as $sub_value){ - $attr.= "<$key>".strtolower($sub_value).""; - } + foreach($value as $sub_value){ + $attr.= "<$key>".strtolower($sub_value)."\n"; } }else{ $attr.= "<$key>".strtolower($value)."\n"; @@ -942,15 +935,8 @@ class gosaSupportDaemon /* Prepare data */ foreach ($data as $key => $value){ if(is_array($value)){ - if($key == "periodic"){ - foreach($value as $sub_name => $sub_value){ - $xml_message.= "$sub_name"; - $xml_message.= "<$sub_name>$sub_value"; - } - }else{ - foreach($value as $sub_value){ - $xml_message.= "<$key>$sub_value"; - } + foreach($value as $sub_value){ + $xml_message.= "<$key>$sub_value"; } }else{ $xml_message.= "<$key>$value"; -- 2.30.2