From: cajus Date: Fri, 28 Apr 2006 08:40:29 +0000 (+0000) Subject: Avoid call of release stuff if dn is 'new' X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=89b36449cd62ebf143dbf0a514be4bf088f46987;p=gosa.git Avoid call of release stuff if dn is 'new' git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3160 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index f789dc9f7..edb9cfae3 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -58,7 +58,7 @@ class appgroup extends plugin /* Release management is activated && this is a valid group app account, but no release class was found, so activate is_account flag */ - if(( in_array("gosaApplicationGroup",$this->attrs['objectClass'])) && + if($dn != "new" && ( in_array("gosaApplicationGroup",$this->attrs['objectClass'])) && (!in_array("FAIreleaseTag",$this->attrs['objectClass']))){ $this->is_account =true; }