Code

If group->application is new, then do not warn that release / is not available
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Sep 2007 09:38:22 +0000 (09:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 Sep 2007 09:38:22 +0000 (09:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7409 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index 9b2efd405650615b61ff257c4740ccc5719a3c5c..a75676068764540500928df38e508e1372166ada 100644 (file)
@@ -931,8 +931,9 @@ class appgroup extends plugin
         $r = $tmp[$k];
         $this->FAIrelease = $k;
         $base = $r; 
-    
-        print_red(sprintf(_("Can't resolve the release name '%s', setting release name to '%s'. Possibly the objects base has changed."),$old_r,$k));
+        if($old_r != "/"){ 
+          print_red(sprintf(_("Can't resolve the release name '%s', setting release name to '%s'. Possibly the objects base has changed."),$old_r,$k));
+        }
       }
 
       $base = preg_replace("/ou=apps,.*$/","ou=apps,".$this->curbase,$base);