From 1913b70f010190de1249bbecb26294ef5f376fea Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Feb 2008 09:06:21 +0000 Subject: [PATCH] Upated systems management. -Updated queue handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9152 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/admin/systems/class_systemManagement.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 7b1454225..afa8b44ec 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -547,8 +547,9 @@ class systems extends plugin $data['timestamp'] = $this->systab->get_timestamp(); $o_queue = new gosaSupportDaemon(); foreach($targets as $target){ - $data['mac'] = $target; - if(!$o_queue->send($header,$target,$data,TRUE)){ + $data['macaddress'] = $target; + $o_queue->send($header,$target,$data,TRUE); + 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); } -- 2.30.2