summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f3eaf82)
raw | patch | inline | side by side (parent: f3eaf82)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Aug 2006 09:05:20 +0000 (09:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Aug 2006 09:05:20 +0000 (09:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4390 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_ldap.inc | patch | blob | history |
diff --git a/include/class_ldap.inc b/include/class_ldap.inc
index 4d842d42d92b75c3c22c9621694faf073aaaf3e3..4f0fd2b455084622930ec08c03439e2b292320be 100644 (file)
--- a/include/class_ldap.inc
+++ b/include/class_ldap.inc
}else{
print_red(_("Unknown FAIstate %s"),$type);
}
+ }elseif(in_array("gosaApplication",$attr['objectClass'])){
+ $attr['objectClass'][] = "FAIobject";
+ $attr['FAIstate'] = $type;
}
/* Replace FAIdebianRelease with new release name */
if(in_array("FAIpackageList" , $attr['objectClass'])){
- $attr['FAIdebianRelease'] = $destinationName;
+ if($type=="branch"){
+ $attr['FAIstate'] ="branch";
+ }elseif($type=="freeze"){
+ $attr['FAIstate'] ="freeze";
+ }else{
+ print_red(_("Unknown FAIstate %s"),$type);
+ }
}
/* Add entry */