From: hickert Date: Mon, 14 Sep 2009 12:24:08 +0000 (+0000) Subject: Updated gosa si daemon to support periodical jobs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a5f39987da8949d0e2df1edd2a800cf7b3440f6a;p=gosa.git Updated gosa si daemon to support periodical jobs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14250 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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";