From: hickert Date: Fri, 2 Jun 2006 04:58:51 +0000 (+0000) Subject: Removed objectClass remove X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=833767cf04cfc871c7ec08250acce492a4253011;p=gosa.git Removed objectClass remove git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3617 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc index 78decf860..9c0f48cd1 100644 --- a/plugins/admin/systems/class_servGeneric.inc +++ b/plugins/admin/systems/class_servGeneric.inc @@ -94,7 +94,6 @@ class servgeneric extends plugin } for($i = 0; $i < $res['objectClass']['count'] ; $i ++){ - if(($attrs['FAIstate'] == "") && ($res['objectClass'][$i] == "FAIobject")) continue; $attrs['objectClass'][] = $res['objectClass'][$i]; } @@ -103,9 +102,10 @@ class servgeneric extends plugin } if($attrs['FAIstate'] == ""){ + #FIXME we should check if FAIobject is used anymore $attrs['FAIstate'] = array(); } - + $ldap->cd($this->dn); $ldap->modify($attrs); show_ldap_error($ldap->get_error());