Code

Fixed appending of jobs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Mar 2008 12:45:45 +0000 (12:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 Mar 2008 12:45:45 +0000 (12:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9351 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index b68c5381f383235e84eb12e95e6e926494a16329..803ff31c943600e1d22b6d2a543ed858df47de99 100644 (file)
@@ -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);