Code

Updated system management.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Feb 2008 10:48:06 +0000 (10:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Feb 2008 10:48:06 +0000 (10:48 +0000)
-Display error if something went wrong while sending action command.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9163 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 408c1e148ffc32d214f71fb0e82cb9b0a6b71821..228acaa2b641f6e4b68d3893fe9800b5e8aa74c2 100644 (file)
@@ -553,8 +553,8 @@ class systems extends plugin
         $data['timestamp'] = $this->systab->get_timestamp();
         $o_queue = new gosaSupportDaemon();
         foreach($targets as $target){
-          $data['macaddress'] = $target;
-          $o_queue->send($header,$target,$data);
+          $data['macadress'] = $target;
+          $o_queue->send_data($header,$target,$data,!$save_events_directly);
           if($o_queue->is_error()){
             msg_dialog::display(_("Daemon"),sprintf(_("Something went wrong while talking to the daemon: %s."),
                   $o_queue->get_error()),ERROR_DIALOG);