Code

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

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

index 47369ae9aa3acf7d19584c3a9aaff3c1ddbaa2b7..89e601e6cd1fd44caeb87275c6f6bb6d060c89d7 100644 (file)
@@ -210,7 +210,7 @@ class workgeneric extends plugin
       $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];