summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5d70a5)
raw | patch | inline | side by side (parent: e5d70a5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Oct 2008 11:35:42 +0000 (11:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Oct 2008 11:35:42 +0000 (11:35 +0000) |
-Target was added automatically, added option to avoid this.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12591 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12591 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationService.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc
index 37d6fb8f6a3fe1e16fb8d508a3ee1a231b1cdad4..1e4e348b657ac4ce6041c4f74ae6f115da775c37 100644 (file)
function execute()
{
+ $this->send_goto_reload();
+
/* Call parent execute */
plugin::execute();
if(count($macs)){
$tmp = new $evt['CLASS_NAME']($this->config);
$tmp->set_type(TRIGGERED_EVENT);
- $tmp->add_targets($macs);
- if(!$o_queue->append($tmp)){
+ $target = $o_queue->get_host().":".$o_queue->get_port();
+ $tmp->add_targets(array($target));
+ $tmp->set_macs($macs);
+ if(!$o_queue->append($tmp,TRUE)){
msg_dialog::display(_("Service infrastructure"),msgPool::siError($o_queue->get_error()),ERROR_DIALOG);
}
}