Code

Updated gosa-si dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 07:05:40 +0000 (07:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 07:05:40 +0000 (07:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19513 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_terminalInfo.inc

index a2586613b68e5f7760cc9356c4a594b94387e392..ad75eddc8d6cffdb5c25cac66992a3cdda6cf862 100644 (file)
@@ -101,7 +101,7 @@ class terminfo extends plugin
         $smarty->assign("swap", progressbar(0,100,15,true));
 
         /* Check if terminal is online */
-        if (gosaSupportDaemon::ping($this->macAddress)){
+        if (class_available("gosaSupportDaemon") && gosaSupportDaemon::ping($this->macAddress)){
           $smarty->assign("status", _("online"));
           $smarty->assign("active", "true");