Code

Remove those entries that starts with !
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Jul 2006 09:00:11 +0000 (09:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Jul 2006 09:00:11 +0000 (09:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4334 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 32adcda8fca551aa6b407e8722fdc6560d453e04..96f9bd88322b189af2af07c2eea196fef9593425 100644 (file)
@@ -602,6 +602,9 @@ class environment extends plugin
           $key  = preg_replace("/_+[xy]$/","",$key);
           $key  = base64_decode($key);
           $this->gotoShares[$key]['PwdHash'] = "";
+          if(preg_match("/^!/",$this->gotoShares[$key]['server'])){
+            unset($this->gotoShares[$key]);
+          }
         }
       }
     }