summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 217e1ff)
raw | patch | inline | side by side (parent: 217e1ff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Sep 2010 06:43:40 +0000 (06:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Sep 2010 06:43:40 +0000 (06:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19509 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 5ff6b3d65a72d10ce5fddf660b263e1388d88dd4..b2fcb6131ee403bf374ba07d77a51056e43cfd1b 100644 (file)
$action = $_POST['saction'];
/* Check if we have an DaemonEvent for this action */
- if(class_available("DaemonEvent")){
+ if(class_available("gosaSupportDaemon") && class_available("DaemonEvent")){
$events = DaemonEvent::get_event_types(SYSTEM_EVENT | HIDDEN_EVENT);
if(isset($events['TRIGGERED']["DaemonEvent_".$action])){
$evt = $events['TRIGGERED']["DaemonEvent_".$action];
/* Optionally execute a command after we're done */
$this->handle_post_events($mode,array("macAddress" => $this->netConfigDNS->macAddress,"ipHostNumber" => $this->netConfigDNS->ipHostNumber));
- if ($activate){
+ if($activate && class_available("gosaSupportDaemon") && class_available("DaemonEvent")){
/* Send installation activation
*/