From 1135d6c0fa5f5706b8c33f70f2bafd54663bfe73 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 8 Dec 2005 11:48:35 +0000 Subject: [PATCH] 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 --- plugins/personal/environment/class_environment.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.30.2