Code

Avoid call of release stuff if dn is 'new'
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Apr 2006 08:40:29 +0000 (08:40 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Apr 2006 08:40:29 +0000 (08:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3160 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index f789dc9f70a35be5713b1f70a4fcf0df2b14e369..edb9cfae3061b113473562ff5d4c40473bd19aa8 100644 (file)
@@ -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;
       }