Code

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

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index e0fe964cac8b9159ec8ce2b33ae78c133c9e8df3..9835de109d924ceba6873dd2b56eff95b6459e2d 100644 (file)
@@ -527,13 +527,15 @@ class systemManagement extends management
    */ 
   function saveEventDialog()
   {
-    $o_queue = new gosaSupportDaemon();
-    $o_queue->append($this->dialogObject);
-    if($o_queue->is_error()){
-      msg_dialog::display(_("Service infrastructure"),msgPool::siError($o_queue->get_error()),ERROR_DIALOG);
-    }else{
-      $this->closeDialogs();
-    }
+      if($this->si_active){
+          $o_queue = new gosaSupportDaemon();
+          $o_queue->append($this->dialogObject);
+          if($o_queue->is_error()){
+              msg_dialog::display(_("Service infrastructure"),msgPool::siError($o_queue->get_error()),ERROR_DIALOG);
+          }else{
+              $this->closeDialogs();
+          }
+      }
   }