Code

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

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

index 22d4c28371213e90189f32f821ae3d121b33166a..27c03bbb1599c3e7867269017b49ec618945ade8 100644 (file)
@@ -78,7 +78,7 @@ class workgeneric 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;
       }