Code

Remove Shares that starts with !
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Jul 2006 09:05:23 +0000 (09:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 28 Jul 2006 09:05:23 +0000 (09:05 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4335 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 9b4c724359289da88a1a708d0b58e5d2bfa8a3f8..a780be3331177e6f4bc4aa11578a743973e99f21 100644 (file)
@@ -587,6 +587,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]);
+        }
       }
     }