From 146881d8497eea7d5da63deb59cd188c85719f85 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 28 Jul 2006 09:05:23 +0000 Subject: [PATCH] Remove Shares that starts with ! git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4335 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 9b4c72435..a780be333 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -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]); + } } } -- 2.30.2