From: cajus Date: Thu, 8 Dec 2005 11:48:35 +0000 (+0000) Subject: Ignore shares starting with a ! sign for user. These are group shares. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1135d6c0fa5f5706b8c33f70f2bafd54663bfe73;p=gosa.git Ignore shares starting with a ! sign for user. These are group shares. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2253 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index c42b2ad25..ca471c64a 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -999,7 +999,9 @@ class environment extends plugin $a_return = array(); if(is_array($this->gotoShares)){ foreach($this->gotoShares as $share){ - $a_return[$share['name']."|".$share['server']]= $share['server']."://".$share['name']." on ".$share['mountPoint']; + if (!preg_match('/^!/', $share['server'])){ + $a_return[$share['name']."|".$share['server']]= $share['server']."://".$share['name']." on ".$share['mountPoint']; + } } } return($a_return);