From: hickert Date: Mon, 6 Sep 2010 07:05:38 +0000 (+0000) Subject: Updated gosa-si dependencies X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=31c4137c0b14743e9d3c62e14e67e1c96bd7c466;p=gosa.git Updated gosa-si dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19512 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 9d17bb50b..e26287a52 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -186,7 +186,7 @@ class termgeneric extends plugin $action = $_POST['saction']; /* Check if we have an DaemonEvent for this action */ - if(class_available("DaemonEvent_".$action)){ + if(class_available("gosaSupportDaemon") && class_available("DaemonEvent_".$action)){ $events = DaemonEvent::get_event_types(SYSTEM_EVENT | HIDDEN_EVENT); if(isset($events['TRIGGERED']["DaemonEvent_".$action])){ $evt = $events['TRIGGERED']["DaemonEvent_".$action]; @@ -241,7 +241,7 @@ class termgeneric extends plugin $smarty->assign("inheritTimeServer",$this->inheritTimeServer); /* Check if terminal is online */ - if (gosaSupportDaemon::ping($this->netConfigDNS->macAddress)){ + if (class_available("gosaSupportDaemon") && gosaSupportDaemon::ping($this->netConfigDNS->macAddress)){ $smarty->assign("actions", array( "halt" => _("Switch off"), "reboot" => _("Reboot"), #"memcheck" => _("Memory test"),