From: hickert Date: Tue, 12 Aug 2008 08:52:50 +0000 (+0000) Subject: Do not show new servers as "Installing" Closes #534 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e1f68d76f40e684e3c38e51a16cb8f4c62df54c0;p=gosa.git Do not show new servers as "Installing" Closes #534 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12192 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 4255e7812..c52153441 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -99,7 +99,7 @@ class servgeneric extends plugin $this->netConfigDNS->set_acl_base($this->base); /* Check if this host is currently in installation process*/ - if(class_available("gosaSupportDaemon") && class_available("DaemonEvent")){ + if($this->dn != "new" && class_available("gosaSupportDaemon") && class_available("DaemonEvent")){ $o = new gosaSupportDaemon(); $e_types = DaemonEvent::get_event_types(USER_EVENT | SYSTEM_EVENT | HIDDEN_EVENT); $evts = $o->get_entries_by_mac(array($this->netConfigDNS->macAddress));