From: hickert Date: Thu, 27 Sep 2007 07:34:54 +0000 (+0000) Subject: Update list of available fon servers, if an existing server was renamed or a new... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=38fd083a85a6cc18121a8de8c0760ad6dd0448a2;p=gosa.git 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 --- 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 */