Code

Added instant_update
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Feb 2008 16:11:28 +0000 (16:11 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 15 Feb 2008 16:11:28 +0000 (16:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8939 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 94a4d67c9a2793b325338af2ef012e3ca43189e9..ac8d330eb1ec2f79035193821982417624397486 100644 (file)
@@ -108,7 +108,7 @@ class servgeneric 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));