From: hickert Date: Fri, 9 Dec 2005 06:48:37 +0000 (+0000) Subject: Fixed removement X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=676d33baf93b60704baf5280f5af5af1b694c5ce;p=gosa.git Fixed removement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2264 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc index 21aa551ac..47561675f 100644 --- a/plugins/admin/systems/class_servRepository.inc +++ b/plugins/admin/systems/class_servRepository.inc @@ -25,6 +25,7 @@ class servrepository extends plugin function servrepository ($config, $dn= NULL) { plugin::plugin ($config, $dn); + $this->repositories = array(); if(isset($this->attrs['FAIrepository'])){ for($i = 0; $i < $this->attrs['FAIrepository']['count']; $i++){ @@ -191,12 +192,6 @@ class servrepository extends plugin $ldap->cd($this->dn); $ldap->modify($this->attrs); $this->handle_post_events("modify"); - }else{ - $ldap->cd ($this->config->current['BASE']); - $ldap->create_missing_trees($this->dn); - $ldap->cd($this->dn); - $ldap->add($this->attrs); - $this->handle_post_events("add"); } }