summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40e8e3f)
raw | patch | inline | side by side (parent: 40e8e3f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Feb 2008 16:09:35 +0000 (16:09 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Feb 2008 16:09:35 +0000 (16:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8936 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index 033c9fb5c99e65ed73459bafbe271cd0b05a0ff4..94a4d67c9a2793b325338af2ef012e3ca43189e9 100644 (file)
/* 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;