summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38e3613)
raw | patch | inline | side by side (parent: 38e3613)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Dec 2005 06:48:37 +0000 (06:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Dec 2005 06:48:37 +0000 (06:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2264 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servRepository.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc
index 21aa551ace56f4b17612120b5093686235d93f9e..47561675fb487c745352f0c51b0631b53c3f6302 100644 (file)
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++){
$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");
}
}