Code

Do not query for the object data again, we've already done this in the parent plugin.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Sep 2009 15:24:48 +0000 (15:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Sep 2009 15:24:48 +0000 (15:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14283 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_termDNS.inc

index 410b34b3d4fafa40ac0275acc4ac9f480e706278..37553c2ab71616d248b226bc2a1b6303ea2a6f90 100644 (file)
@@ -79,7 +79,9 @@ class termDNS extends plugin
     $this->IPisMust       = $IPisMust;
     $this->namingAttr     = $namingAttr;
 
-    plugin::plugin ($config, $parent->dn);
+    plugin::plugin ($config, $parent->dn, $this->parent);
+  
+    $this->attrs = &$this->parent->attrs;
 
     if(isset($this->attrs[$namingAttr][0])){
       $this->OrigCn = preg_replace("/\\\$\$/","",$this->attrs[$namingAttr][0]);