Code

Updated files to handle umlauts
[gosa.git] / plugins / admin / systems / class_servGeneric.inc
index 78decf860e24cc61307ff4a35aab029df3f9f4db..9c0f48cd1f442c63d0434f2fffc556b7810f816f 100644 (file)
@@ -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());