From 305bcc49758b0bacf8c6bb2f27f8b1d25e8b15ac Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 5 Mar 2008 12:45:45 +0000 Subject: [PATCH] Fixed appending of jobs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9351 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index b68c5381f..803ff31c9 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -620,8 +620,10 @@ $xml_msg.= " */ if($event->is_new()){ + $request_answer = FALSE; if($event->get_type() == SCHEDULED_EVENT){ $action = $event->get_schedule_action(); + $request_answer = TRUE; }elseif($event->get_type() == TRIGGERED_EVENT){ $action = $event->get_trigger_action(); }else{ @@ -638,7 +640,7 @@ $xml_msg.= " */ foreach($targets as $target){ $data['macaddress'] = $target; - $this->send_data($action,$target,$data,TRUE); + $this->send_data($action,$target,$data,$request_answer); if($this->is_error()){ return(FALSE); -- 2.30.2