From 7b57964505a0925a1d921c2015828c8cbde0d3a4 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 4 Aug 2006 09:05:20 +0000 Subject: [PATCH] Updated application branch/freezing git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4390 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ldap.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 */ -- 2.30.2