From cde80669d8a691a2614f8594c4135883ac092d5d Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 15 Feb 2008 16:10:58 +0000 Subject: [PATCH] Added instant_update, too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8938 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc | 2 +- .../goto/admin/systems/goto/class_workstationGeneric.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 45827f05f..51616dffa 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -169,7 +169,7 @@ class termgeneric extends plugin if (isset($_POST['action']) && $this->acl_is_writeable("FAIstate") && isset($this->mapActions[$_POST['saction']])){ $method= "gosa"; $action= $_POST['saction']; - if ($action == "reinstall" || $action == "softupdate"){ + if ($action == "reinstall" || $action == "update" || $action == "instant_update"){ $method= "job"; } gosaSupportDaemon::send("${method}_trigger_action_".$action, $this->netConfigDNS->macAddress, array("macAddress" => $this->netConfigDNS->macAddress)); diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 2595d495a..321da4a4f 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -184,7 +184,7 @@ class workgeneric extends plugin if ((isset($_POST['action'])) && ($this->acl_is_writeable("FAIstate")) && isset($this->mapActions[$_POST['saction']]) ){ $method= "gosa"; $action= $_POST['saction']; - if ($action == "reinstall" || $action == "update"){ + if ($action == "reinstall" || $action == "update" || $action == "instant_update"){ $method= "job"; } gosaSupportDaemon::send("${method}_trigger_action_".$action, $this->netConfigDNS->macAddress, array("macAddress" => $this->netConfigDNS->macAddress)); -- 2.30.2