summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cae74ff)
raw | patch | inline | side by side (parent: cae74ff)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Jun 2006 04:58:51 +0000 (04:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Jun 2006 04:58:51 +0000 (04:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3617 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 78decf860e24cc61307ff4a35aab029df3f9f4db..9c0f48cd1f442c63d0434f2fffc556b7810f816f 100644 (file)
}
for($i = 0; $i < $res['objectClass']['count'] ; $i ++){
- if(($attrs['FAIstate'] == "") && ($res['objectClass'][$i] == "FAIobject")) continue;
$attrs['objectClass'][] = $res['objectClass'][$i];
}
}
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());