From 0c93274b4111d52ca3607aaf622a829a7029f0ad Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 15 Feb 2008 16:09:35 +0000 Subject: [PATCH] Made it possible for servers, too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8936 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_servGeneric.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2