From 83c3889aaa71fc6067a288b46c454802a33ce5b2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 17 Sep 2009 15:24:48 +0000 Subject: [PATCH] Do not query for the object data again, we've already done this in the parent plugin. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14283 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_termDNS.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_termDNS.inc b/gosa-plugins/systems/admin/systems/class_termDNS.inc index 410b34b3d..37553c2ab 100644 --- a/gosa-plugins/systems/admin/systems/class_termDNS.inc +++ b/gosa-plugins/systems/admin/systems/class_termDNS.inc @@ -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]); -- 2.30.2