Code

Updated plugin "valid bases" detection, don't warn user about invalid base if the...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 2 Jul 2008 05:45:39 +0000 (05:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 2 Jul 2008 05:45:39 +0000 (05:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11501 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index e2d6bd6c28f17bc30be93216f1ea33b9834178c0..3ff98ea8fa2d1a48dce0aed29388223e6bdf4078 100644 (file)
@@ -1697,6 +1697,8 @@ class plugin
     /* Add current base */      
     if(isset($this->base) && isset($this->config->idepartments[$this->base])){
       $deps[$this->base] = $this->config->idepartments[$this->base];
+    }elseif(strtolower($this->dn) == strtolower($this->config->current['BASE'])){
+
     }else{
       trigger_error("Cannot return list of departments, no default base found in class ".get_class($this).". ".$this->base);
     }