summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d075a8c)
raw | patch | inline | side by side (parent: d075a8c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 17 Jul 2008 13:44:49 +0000 (13:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 17 Jul 2008 13:44:49 +0000 (13:44 +0000) |
-Append FAIstate.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11708 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11708 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
index 34c36746540238525e476cf333b0460a01f25543..fd763df9f884622f1c406e363bef7e8fdc5f2bf5 100644 (file)
/* Add marking attribute */
$attr['objectClass'][] = "FAIbranch";
+ $attr['FAIstate'] = $type;
/* Add this entry */
$ldap->modify($attr);
}
unset($attr['count']);
unset($attr['dn']);
+ if(!in_array("FAIclass",$attr['objectClass'])){
+ $attr['objectClass'][] = "FAIobject";
+ }
+ $attr['FAIstate'] = $type;
/* Add entry
*/