From: hickert Date: Tue, 11 Mar 2008 10:02:59 +0000 (+0000) Subject: Display installation warning, only if installation is currently running X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=43fc64941c270a16e6e1c86ecdf604907e9d9b92;p=gosa.git Display installation warning, only if installation is currently running git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9659 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 22d4c2837..27c03bbb1 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -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; }