Code

Display installation warning, only if installation is currently running
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:03:38 +0000 (10:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 10:03:38 +0000 (10:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9660 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 81942231f93f7df2cba772a374c33b89bc39f34f..9b2e16c0f2fa4762d4713e76afeceb161f8c9fca 100644 (file)
@@ -83,7 +83,7 @@ class servgeneric extends plugin
     $e_types = DaemonEvent::get_event_types(USER_EVENT | SYSTEM_EVENT | HIDDEN_EVENT);
     $evts = $o->get_entries_by_mac(array($this->netConfigDNS->macAddress));
     foreach($evts as $evt){
-      if(isset($e_types['QUEUED'][$evt['HEADERTAG']]) &&
+      if(isset($e_types['QUEUED'][$evt['HEADERTAG']]) && $evt['STATUS'] == "processing" && 
           $e_types['QUEUED'][$evt['HEADERTAG']] == "DaemonEvent_reinstall"){
         $this->currently_installing =TRUE;
       }