From 676d33baf93b60704baf5280f5af5af1b694c5ce Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 9 Dec 2005 06:48:37 +0000 Subject: [PATCH] Fixed removement git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2264 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servRepository.inc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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"); } } -- 2.30.2