Code

Update list of available fon servers, if an existing server was renamed or a new...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Sep 2007 07:34:54 +0000 (07:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Sep 2007 07:34:54 +0000 (07:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7419 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_servDB.inc

index eca4b3524407edcb69b3ab6bfa02dae2362cf2df..cff0976ce2058ce30a748b95fa0554adcb48d04d 100644 (file)
@@ -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 */