From: cajus Date: Fri, 15 Feb 2008 16:09:35 +0000 (+0000) Subject: Made it possible for servers, too X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0c93274b4111d52ca3607aaf622a829a7029f0ad;p=gosa.git Made it possible for servers, too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8936 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index 033c9fb5c..94a4d67c9 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -106,7 +106,12 @@ class servgeneric extends plugin /* Check for action */ if ((isset($_POST['action'])) && ($this->acl_is_writeable("FAIstate")) && isset($this->mapActions[$_POST['saction']]) ){ - gosaSupportDaemon::send("gosa_trigger_action_".$_POST['saction'], $this->netConfigDNS->macAddress, array("macAddress" => $this->netConfigDNS->macAddress)); + $method= "gosa"; + $action= $_POST['saction']; + if ($action == "reinstall" || $action == "softupdate"){ + $method= "job"; + } + gosaSupportDaemon::send("${method}_trigger_action_".$action, $this->netConfigDNS->macAddress, array("macAddress" => $this->netConfigDNS->macAddress)); $this->didAction= TRUE;