Code

Added instant_update, too
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Feb 2008 16:10:58 +0000 (16:10 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Feb 2008 16:10:58 +0000 (16:10 +0000)
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
gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc

index 45827f05fe3ac956cbaa68fdec429dcc2071ec02..51616dffa3bf5c4f17bc08cd85f446293e5c3517 100644 (file)
@@ -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));
index 2595d495af74587ef6068769ab63f11b4b192962..321da4a4fb8b3c3c41c08dc9dcaca3e5ce9ef7e2 100644 (file)
@@ -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));