From a5f39987da8949d0e2df1edd2a800cf7b3440f6a Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 14 Sep 2009 12:24:08 +0000 Subject: [PATCH] Updated gosa si daemon to support periodical jobs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14250 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 7f21eed92..90005169a 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -842,8 +842,15 @@ class gosaSupportDaemon foreach($data as $key => $value){ $key = strtolower($key); if(is_array($value)){ - foreach($value as $sub_value){ - $attr.= "<$key>".strtolower($sub_value)."\n"; + 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).""; + } } }else{ $attr.= "<$key>".strtolower($value)."\n"; -- 2.30.2