From: hickert Date: Wed, 10 May 2006 08:40:06 +0000 (+0000) Subject: Reverted last commit X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=abd3fccb33739365ce3a3675d281ba159b630ca4;p=gosa.git Reverted last commit git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3258 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiHook.inc b/plugins/admin/fai/class_faiHook.inc index 5497098cc..3fba9649c 100644 --- a/plugins/admin/fai/class_faiHook.inc +++ b/plugins/admin/fai/class_faiHook.inc @@ -422,16 +422,9 @@ class faiHook extends plugin } } - - $sub_dn = "cn=".$obj['cn'].",".$this->dn; - plugin::plugin($this->config,$sub_dn); - $tmp['objectClass'] = $this->attrs['objectClass']; + $tmp['objectClass'] = $this->subClasses; - foreach($this->subClasses as $class){ - if(!in_array($class,$tmp['objectClass'])){ - $tmp['objectClass'][] = $class; - } - } + $sub_dn = "cn=".$obj['cn'].",".$this->dn; if($obj['status']=="new"){ $ldap->cat($sub_dn);