From 38fd083a85a6cc18121a8de8c0760ad6dd0448a2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 27 Sep 2007 07:34:54 +0000 Subject: [PATCH] Update list of available fon servers, if an existing server was renamed or a new server was created. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7419 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDB.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/admin/systems/class_servDB.inc b/plugins/admin/systems/class_servDB.inc index eca4b3524..cff0976ce 100644 --- a/plugins/admin/systems/class_servDB.inc +++ b/plugins/admin/systems/class_servDB.inc @@ -294,6 +294,11 @@ class servdb extends plugin show_ldap_error($ldap->get_error(),sprintf(_("Updating gofon home server failed for '%s'."),$dn)); } } + + /* Updated config list of gofon servers */ + if($this->orig_dn == "new" || $this->orig_dn != $this->dn){ + $_SESSION['config']->load_servers(); + } } /* Optionally execute a command after we're done */ -- 2.30.2