From: hickert Date: Fri, 28 Jul 2006 09:05:23 +0000 (+0000) Subject: Remove Shares that starts with ! X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=146881d8497eea7d5da63deb59cd188c85719f85;p=gosa.git Remove Shares that starts with ! git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4335 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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]); + } } }