From: hickert Date: Fri, 4 Aug 2006 09:05:20 +0000 (+0000) Subject: Updated application branch/freezing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b57964505a0925a1d921c2015828c8cbde0d3a4;p=gosa.git Updated application branch/freezing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4390 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ldap.inc b/include/class_ldap.inc index 4d842d42d..4f0fd2b45 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -553,11 +553,20 @@ class LDAP{ }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 */