From e1f68d76f40e684e3c38e51a16cb8f4c62df54c0 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Aug 2008 08:52:50 +0000 Subject: [PATCH] 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 --- gosa-plugins/systems/admin/systems/class_servGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2