From: hickert Date: Tue, 11 Mar 2008 10:03:38 +0000 (+0000) Subject: Display installation warning, only if installation is currently running X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de1ebaf2bfdfcce3b81d44f25602aa4d04765480;p=gosa.git Display installation warning, only if installation is currently running git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9660 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index 81942231f..9b2e16c0f 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -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; }