Code

Updated Folder Widget
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Oct 2010 12:08:05 +0000 (12:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 13 Oct 2010 12:08:05 +0000 (12:08 +0000)
-Added missing comment.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20030 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc

index 85f56d24fccc8dcd16cd91357ba96b73e5f390cd..1fde7b8f3d222a49853a7a8eb35c820ebe1ff7e0 100644 (file)
@@ -185,8 +185,10 @@ class FolderWidget extends plugin
                 $entryPath = (empty($entryPath)) ? $pathName : "{$entryPath}{$this->pathSeparator}{$pathName}";
                 $entryBase =  $this->pathToDn($entryPath);
 
+                // To not add sub-folders which are not nescessary to be displayed
+                // e.g. We have shared/technik/test
+                // Then do not all sub-folders for shared, it is not selectable in the listing later.
                 if(!preg_match("/".preg_quote($this->accountPrefix,'/')."/", $entryPath)){
-                    echo "Skipped {$entryPath} <br>";
                     continue;
                 }