From: hickert Date: Thu, 17 Sep 2009 15:24:48 +0000 (+0000) Subject: Do not query for the object data again, we've already done this in the parent plugin. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83c3889aaa71fc6067a288b46c454802a33ce5b2;p=gosa.git 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 --- 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]);